-
AuthorPosts
-
March 10, 2019 at 9:49 am #34284
I’ve been having trouble with product-tags on my site for quite some time now, in that they throw a 404 error message all the time. I’ve posted in the WC forum, but have been unable to fix it with their help.
In doing all the other standard troubleshooting of trying a default theme and deactivating/reactivating plugins, and then talking with my hosting company, they have found that Symbiostock is throwing a fatal error:
PHP Fatal error: Uncaught Error: Call to a member function disable_direct_access() on null in /flywheel/base/mounts/119861_production/www/wp-content/plugins/symbiostock-pro/front-product-page.php:6
Can you help me figure out why this is happening and how I might fix it please?
I am running WP 5.0.3 and WC 3.5.4, PHP 7.1.
March 14, 2019 at 5:02 am #34295Bump please!!!
March 27, 2019 at 2:21 am #34379March 28, 2019 at 7:21 am #34383It’s not happening on a “page”, according to the web hosting company (Flywheel). They said the error came from the PHP error log, which wouldn’t be specific to any page. The error mentions that a Call to a member function disable_direct_access() on null in the front-product-page.php file that is apart of the “symbiostock-pro” plugin.
March 28, 2019 at 3:01 pm #34385Hi Theresa,
It is a part of it, but this function is called on every single page in Symbiostock. This is why it is very strange that this would happen, as it means WordPress is loading that page before loading the actual Symbiostock plugin. There would actually be no way to fix that error given the issue, as this is not actually a Symbiostock issue, despite the error originating from it. It means that this ‘front-product-page.php’ page is loading outside of Symbiostock in WordPress for some reason. Can you disable Symbiostock and try to view your tags to see if it works?
August 9, 2020 at 6:39 pm #37339I got the same error today, maybe this is the reason why the cron job always crashed and the customer order in my woocommerce can’t be completed:
2020-08-09T06:22:31+00:00 CRITICAL Uncaught Error: Call to a member function disable_direct_access() on null in /home3/vectorg3/public_html/wp-content/plugins/symbiostock-pro/front-product-page.php:6
Stack trace:
#0 /home3/vectorg3/public_html/wp-content/plugins/symbiostock-pro/symbiostock-pro.php(84): require_once()
#1 /home3/vectorg3/public_html/wp-includes/class-wp-hook.php(287): ss_go(”)
#2 /home3/vectorg3/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#3 /home3/vectorg3/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#4 /home3/vectorg3/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(569): do_action(‘woocommerce_ini…’)
#5 /home3/vectorg3/public_html/wp-includes/class-wp-hook.php(287): WooCommerce->init(”)
#6 /home3/vectorg3/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#7 /home3/vectorg3/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#8 /home3/vectorg3/public_html/wp-settings.php(540): do_action(‘ini in /home3/vectorg3/public_html/wp-content/plugins/symbiostock-pro/front-product-page.php on line 6How can I fix this?
August 16, 2020 at 7:57 pm #37401 -
AuthorPosts
You must be logged in to reply to this topic.