- This topic has 19 replies, 5 voices, and was last updated 2 years, 2 months ago by Fermin Perez.
May 9, 2019 at 11:35 pm #894875Austin
I’d really appreciate any help you could give on the following error which appears in my wc-logs with prefix fatal-errors-*. and is also reported via wordpress 5.2.2 automated email.
An error of type E_ERROR was caused in line 544 of the file /var/www/html/wp-content/plugins/gp-premium/woocommerce/functions/functions.php. Error message: Uncaught Error: Call to a member function is_empty() on null in /var/www/html/wp-content/plugins/gp-premium/woocommerce/functions/functions.php:544
#0 /var/www/html/wp-includes/class-wp-hook.php(286): generatepress_wc_mobile_cart_link(”)
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/themes/generatepress/inc/structure/navigation.php(31): do_action(‘generate_inside…’)
#4 /var/www/html/wp-content/themes/generatepress/inc/structure/navigation.php(106): generate_navigation_position()
#5 /var/www/html/wp-includes/class-wp-hook.php(286): generate_add_navigation_after_header(”)
#6 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#7 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#8 /var/www/html/wp-content/themes/generatepress-child/header.php(43): do_action(‘generate_after_…’)
#9 /var/www/html/wp-incMay 10, 2019 at 9:23 am #895513TomLead DeveloperLead Developer
I think you’re using a very old version of PHP which is no longer supported (and is vulnerable to hackers).
Can you contact your host and ask them to upgrade you to PHP 7?
Let me know 🙂May 10, 2019 at 4:41 pm #895792Fermin Perez
Hi I need help after WP update to version 5.2 I star to get an issue
I received an email from WordPress:
PHP Version is 7.2
An error of type E_ERROR was caused in line 1235 of the file /home/gpguttersllc/public_html/wp-content/plugins/gp-premium/colors/functions/functions.php. Error message: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes)May 10, 2019 at 4:43 pm #895794TomLead DeveloperLead Developer
This should help: https://docs.generatepress.com/article/increasing-php-memory-limit/May 10, 2019 at 8:25 pm #895852Austin
hi Tom using php -v I get
PHP 7.2.16-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Mar 7 2019 20:23:29) ( NTS )May 10, 2019 at 8:31 pm #895854TomLead DeveloperLead DeveloperMay 10, 2019 at 8:44 pm #895858Austin
I am using woocommerce version3.6.2May 10, 2019 at 8:52 pm #895864TomLead DeveloperLead Developer
Hmm, there must be something else conflicting.
Can you try deactivating your other plugins one by one to check for a conflict?May 10, 2019 at 9:08 pm #895873Austin
Hi Tom Ok I can do this. It only seems to happen intermittently. There doesnt seem to be any malfunction in the actual app that I can see when ordering a productMay 11, 2019 at 1:13 am #895992Austin
I checked out where this was happening in the error logs . It is when a user enters https://www.xxxx.com/wp-admin/ .Deactivating GP premium returns a 404 oops not found page to the user. Activating GP premium returns a ‘this site is experiencing technical difficulties’ and the fatal error is logged in wc-logs. I have deactivated GP premium for now.May 11, 2019 at 9:19 am #896353TomLead DeveloperLead DeveloperMay 11, 2019 at 2:06 pm #896543Austin
If I activate GP Premium and go to mysite.com/wp-admin I get an errorMay 11, 2019 at 5:21 pm #896633TomLead DeveloperLead Developer
Hmm, I see. And that’s the error you shared earlier? Strange, because the line it’s complaining about doesn’t exist in
Can you try re-installing GP Premium?May 11, 2019 at 5:53 pm #896642Austin
I reinstalled GP premium 1.8.2. I am getting the same error when I activate GP premium.May 11, 2019 at 7:01 pm #896661
- You must be logged in to reply to this topic.