• Resolved Oded Talmon

    (@odedta)


    Hello,

    I’m on the latest WooCommerce (v10.9.1) and WordPress (v7.0) and WP Activity Log (+WooCommerce Activity Log extension) plugins are activated. When I try to edit a Product. I get this error:

    [26-Jun-2026 16:48:25 UTC] PHP Fatal error:  Uncaught Error: Class "WSAL_Models_OccurrenceQuery" not found in {MY_PATH}wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/sensors/class-woocommerce-sensor.php:3300
    Stack trace:
    #0 {MY_PATH}wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/sensors/class-woocommerce-sensor.php(3261): WSAL\Plugin_Sensors\WooCommerce_Sensor::was_triggered(9072)
    #1 {MY_PATH}wp-includes/class-wp-hook.php(341): WSAL\Plugin_Sensors\WooCommerce_Sensor::editing_product(Object(WP_Post))
    #2 {MY_PATH}wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(Object(WP_Post), Array)
    #3 {MY_PATH}wp-includes/plugin.php(522): WP_Hook->do_action(Array)
    #4 {MY_PATH}wp-admin/edit-form-advanced.php(482): do_action('post_edit_form_...', Object(WP_Post))
    #5 {MY_PATH}wp-admin/post.php(206): require('{MY_PATH}...')
    #6 {main}
    thrown in {MY_PATH}wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/sensors/class-woocommerce-sensor.php on line 3300

    It crashes the edit screen.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Lucian Padureanu

    (@lucianwpwhite)

    Hi there @odedta ,

    Thank you for reaching out, and for the detailed error log , that’s really helpful.

    Before we dig deeper, there’s an important bit of context: we’ve moved our extensions directly into the core of WP Activity Log, so the separate WooCommerce extension is no longer needed and can actually conflict with the main plugin. The fatal error you’re seeing (the missing WSAL_Models_OccurrenceQuery class) is consistent with that kind of overlap.

    As a first step, could you kindly deactivate and remove the WooCommerce Activity Log extension (wp-activity-log-for-woocommerce) and simply keep the main WP Activity Log plugin active (running it’s latest version 5.6.4) on its own? WooCommerce logging is now built in, so you won’t lose any functionality. Once that’s done, please try editing a product again and let us know whether the error still occurs.

    To help us investigate further if needed, would you also mind sharing the following:

    • Your PHP version
    • The theme currently in use
    • The new error stack (if it still happens also with the extension removed)

    Looking forward to your reply.

    Thread Starter Oded Talmon

    (@odedta)

    Got it! I disabled and removed that extension. Thanks!

    • This reply was modified 1 week ago by Oded Talmon. Reason: typo
    Plugin Support Lucian Padureanu

    (@lucianwpwhite)

    Glad everything is now sorted @odedta ! Don’t forget to drop us a review here on the forums if you enjoy our plugin and support as it really helps out!

    Have a nice day ahead!

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

You must be logged in to reply to this topic.