Cannot create new snippets or edit previously created Snippets

[ad_1]

I have Code Snippets v3.5.0 and Code Snippets Pro 3.5.1 running on our website. Ever since updating to these versions I keep getting this error:
“Could not create snippet. Request failed with status code 500” and I’m unable to add new snippets or edit previously created snippets. This is the error I’m seeing in my logs:

[2023-09-21T15:54:04.406029+00:00] WordPress database error Unknown column ‘revision’ in ‘field list’ for query INSERT INTO wp_snippets (name, description, code, tags, scope, priority, active, modified, revision, cloud_id) VALUES (‘title’, ”, ”, ”, ‘global’, ’10’, ‘0’, ‘2023-09-21 15:54:04’, ‘1’, NULL) /* From [t6754671.wpenginepowered.com/wp-json/code-snippets/v1/snippets] in [/nas/content/live/t6754671/wp-content/plugins/code-snippets-pro/php/snippet-ops.php:581] */ made by require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Code_Snippets\REST_API\Snippets_REST_Controller->create_item, Code_Snippets\save_snippet

How do I fix this? I need to be able to update snippets. I already rolled back Code Snippets to the previous version before 3.5.0 and that did not resolve the issue.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer