• Resolved nbatteur

    (@nbatteur)


    I have installed your plugin on a fresh WP/WOO install.

    But if the alert pop-up is displaying fine, when the user click on the e-mail validation button, I have the error in my log :
    PHP Fatal error: Uncaught Error: Call to a member function trigger() on null in /var/www/html/mysite/wp-content/plugins/woocommerce-product-stock-alert/classes/class-woo-product-stock-alert-ajax.php:176\nStack trace:\n#0 /var/www/html/mysite/wp-includes/class-wp-hook.php(286): WOO_Product_Stock_Alert_Ajax->stock_alert_function(”)\n#1 /var/www/html/mysite/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#2 /var/www/html/mysite/wp-includes/plugin.php(465): WP_Hook->do_action(Array)\n#3 /var/www/html/mysite/wp-admin/admin-ajax.php(173): do_action(‘wp_ajax_alert_a…’)\n#4 {main}\n thrown in /var/www/html/mysite/wp-content/plugins/woocommerce-product-stock-alert/classes/class-woo-product-stock-alert-ajax.php on line 176, referer: https://mysite.syspark.net/mysite/shop/en/product/pina-1060010001/

    Do you have any idea ?

    Thanks a lot,
    Nicolas

    • This topic was modified 5 years ago by nbatteur.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Dualcube

    (@dualcube)

    Hi @nbatteur, sorry to hear that you have faced this issue.

    However, we didn’t face any such issue (we did the test with updated version of WordPress and WooCommerce).

    So, can you please share a page link, where we can check this issue.

    Thread Starter nbatteur

    (@nbatteur)

    Hi @dualcube,

    Thank you for your quick response. We have found the reason of of this problem. This is a incompatibility with a third plugin.

    Sorry and thanks again,
    Nicolas

    Dualcube

    (@dualcube)

    Nicolas, great to know that the issue has been fixed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Uncaught Error: Call to a member function trigger()’ is closed to new replies.