Problems with codesnippets
-
Hi, we are experiencing issues with ASE Pro Code Snippets when we are updating Back in stock notifier from 5.9.0 to 6.0.9.1. The Code Snippets stops working.
Here’s what happens to ASE’s snippets data when “Back In Stock Notifier for WooCommerce” is updated from 5.9.0 to 6.0.9.1:
- The ‘admin_site_enhancements_extra’ option in wp_options table, which stores ASE’s snippet data inside the ‘code_snippets’ node is converted to an empty array. It should be containing active snippets data. This caused all snippets to stop working.
- Hooking into upgrader_process_complete hook, which is fired after a plugin update, to call Code_Snippets_Manager_Admin–>rebuild_snippets_data() does not properly rebuild the active snippets node in ‘admin_site_enhancements_extra’ option as it should. This was attempted from admin-site-enhancements-pro/includes/premium/code-snippets-manager/includes/admin-screens.php on line 57 in this site.
- Deactivating and activating an active snippet will only properly rebuild the active snippets data when “Back In Stock Notifier for WooCommerce” has been downgraded to 5.9.0. It won’t work if it’s still on 6.0.9.1.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Problems with codesnippets’ is closed to new replies.