• 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)
  • melissa2747

    (@melissa2747)

    I’m having a similar issue with code snippets as well.

    Plugin Author ProPluginsLab

    (@propluginslab)

    Hello there,

    Good Day!

    We’re not sure how our plugin interferes with the ASE Pro Snippet plugin, but we do use the upgrader_process_complete hook. We checked this hook on our side but couldn’t identify any differences, as the same hook function is still present in the downgraded version.

    Since we’ve released many versions and changes between v5.9.0 and v6.0.9.2, it’s difficult to pinpoint exactly which version may be causing this conflict. You mentioned the ASE Pro Snippet plugin—could you please confirm if the same scenario also applies to the free version (and to the latest version as well)?

    We recently changed the upgrader_process_complete hook priority to 999 (though we’re not certain if this resolves the issue). As the plugin you referred to appears to be a paid product, it’s very difficult for us to check compatibility without reviewing its code/plugin. For further details, we recommend contacting our website support, as we are not permitted to discuss premium products here.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problems with codesnippets’ is closed to new replies.