Fatal error: Uncaught Error: Call to a member function trigger()
-
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
- The topic ‘Fatal error: Uncaught Error: Call to a member function trigger()’ is closed to new replies.