- This topic has 3 replies, 2 voices, and was last updated 3 years, 4 months ago by
Leo.
-
AuthorPosts
-
October 4, 2019 at 9:22 am #1026323
Sam
Hi, see below from our logs, can you advise what this is and how to fix?
2019-10-03T21:45:59+00:00 CRITICAL Uncaught Error: Call to a member function is_empty() on null in /home/super8/public_html/wp/wp-content/plugins/gp-premium/woocommerce/functions/functions.php:546
Stack trace:
#0 /home/super8/public_html/wp/wp-includes/class-wp-hook.php(286): generatepress_wc_mobile_cart_link(”)
#1 /home/super8/public_html/wp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /home/super8/public_html/wp/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /home/super8/public_html/wp/wp-content/plugins/gp-premium/menu-plus/functions/generate-menu-plus.php(892): do_action(‘generate_inside…’)
#4 /home/super8/public_html/wp/wp-includes/class-wp-hook.php(286): generate_menu_plus_mobile_header(”)
#5 /home/super8/public_html/wp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#6 /home/super8/public_html/wp/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#7 /home/super8/public_html/wp/wp-content/themes/generatepress/header.php(56): do_action(‘generate_after_…’)
#8 /home/su in /home/super8/public_html/wp/wp-content/plugins/gp-premium/woocommerce/functions/functions.php on line 5462019-10-03T21:46:00+00:00 CRITICAL Uncaught Error: Call to a member function is_empty() on null in /home/super8/public_html/wp/wp-content/plugins/gp-premium/woocommerce/functions/functions.php:546
Stack trace:
#0 /home/super8/public_html/wp/wp-includes/class-wp-hook.php(286): generatepress_wc_mobile_cart_link(”)
#1 /home/super8/public_html/wp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /home/super8/public_html/wp/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /home/super8/public_html/wp/wp-content/plugins/gp-premium/menu-plus/functions/generate-menu-plus.php(892): do_action(‘generate_inside…’)
#4 /home/super8/public_html/wp/wp-includes/class-wp-hook.php(286): generate_menu_plus_mobile_header(”)
#5 /home/super8/public_html/wp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#6 /home/super8/public_html/wp/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#7 /home/super8/public_html/wp/wp-content/themes/generatepress/header.php(56): do_action(‘generate_after_…’)
#8 /home/su in /home/super8/public_html/wp/wp-content/plugins/gp-premium/woocommerce/functions/functions.php on line 546October 4, 2019 at 9:24 am #1026324Leo
StaffCustomer SupportHi there,
Can you disable all plugins except GP Premium to eliminate any conflicts first?
If that doesn’t help, anything added in GP hooks or any custom functions?
Let me know ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 4, 2019 at 9:27 am #1026329Sam
Hi Leo, I only have this appear on one date and it is a live site so I can’t just turn everything off and wait. I was hoping you had seen it before…
We have hooks, yes.
October 4, 2019 at 9:30 am #1026334Leo
StaffCustomer SupportUnfortunately we have not had other reports on this and both GP Premium and GeneratePress theme haven’t been updated for awhile.
I assume it’s something specific to your install, a custom function you’ve added or another plugin.
The best thing to do here is to duplicate the problem on a staging server so we can do some debugging.
Let me know ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.