Support » Plugin: Activity Log » Critical Error with Woocommerce 5.2.1

  • I did two things today at the same time:
    1) Upgraded to Woocommerce 5.2.1
    2) Installed Activity Log 2.6.1
    After that I checked the site and I couldn’t get access to the Woocommerce menus in the WP dashboard anymore. I only got the notice “There has been a critical error on this website.”
    A debug showed that the culprit was Activity Log.

    This is the error (I replaced the full path with “site.com”):

    Fatal error: Uncaught Error: Call to a member function get_id() on int in site.com/wp-content/plugins/aryo-activity-log/classes/class-aal-integration-woocommerce.php:31 Stack trace: 
    #0 site.com/wp-includes/class-wp-hook.php(292): AAL_Integration_WooCommerce->wc_get_settings_pages(Array) 
    #1 site.com/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array) 
    #2 site.com/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(62): apply_filters('woocommerce_get...', Array) 
    #3 site.com/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(125): WC_Admin_Settings::get_settings_pages() 
    #4 site.com/wp-includes/class-wp-hook.php(292): WC_Adm in site.com/wp-content/plugins/aryo-activity-log/classes/class-aal-integration-woocommerce.php on line 31

    Is this a brand new problem or something that has been solved before? What should I do (apart from disabling Activity Log for now).

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.