- This topic has 9 replies, 2 voices, and was last updated 3 years, 2 months ago by Tom.
-
AuthorPosts
-
December 30, 2020 at 4:12 am #1599258FunkyCss
Hallo and i wish to all of you happy holidays.
Its been a topic that i have seen in many others and in the WP.ORG forum.
The critical errors of Generatepress with woocommerce,
This is something that is happening months to me personaly in a live site with visitos buying products, also lately
I see some pricing changes in the final checkout by my guess there is woocommerce fault.
I can give any time access to my site TOM if you want to see that errors.
December 30, 2020 at 10:49 am #1599917TomLead DeveloperLead DeveloperHi there,
What kind of errors are you seeing, exactly?
I’m not aware of anything outstanding at the moment – can you link me to one of those .org threads?
Thanks!
December 30, 2020 at 10:56 am #1599924FunkyCssHi ,
Yes sure , on gp forum – >
https://generatepress.com/forums/topic/fatal-error-on-woocommerce-logs/
Older mine – > https://generatepress.com/forums/topic/woocommerce-2-days-fatal-errors/
https://generatepress.com/forums/topic/fatal-error-8/
and on wp.org https://wordpress.org/support/topic/fast-but/
December 31, 2020 at 12:32 pm #1601039TomLead DeveloperLead DeveloperAre these logs fresh? I added checks in those places to prevent them in case WooCommerce hasn’t loaded yet for some reason in 1.11.0.
January 1, 2021 at 3:29 am #1601404FunkyCssHi Tom ,
The latest error log, happened on 18/12/2020.
January 1, 2021 at 12:00 pm #1601926TomLead DeveloperLead DeveloperCan you share that exact entry with me?
Thanks!
January 1, 2021 at 12:13 pm #1601941FunkyCssHi , Sure
2020-12-18T17:32:11+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /home/www/ulver/..............gr/www/wp-content/plugins/gp-premium/woocommerce/functions/functions.php:1260 Stack trace: #0 /home/www/ulver/..............gr/www/wp-includes/class-wp-hook.php(287): generatepress_wc_add_to_cart_helper('') #1 /home/www/ulver/..............gr/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /home/www/ulver/..............gr/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home/www/ulver/..............gr/www/wp-content/themes/generatepress/footer.php(59): do_action('generate_after_...') #4 /home/www/ulver/..............gr/www/wp-includes/template.php(730): require_once('/home/www/ulver...') #5 /home/www/ulver/..............gr/www/wp-includes/template.php(676): load_template('/home/www/ulver...', true, Array) #6 /home/www/ulver/..............gr/www/wp-includes/general-template.php(92): locate_template(Array, true, true, Array) #7 /home/www/ulver/..............gr/www/wp-content/them μέσα στο /home/www/ulver/..............gr/www/wp-content/plugins/gp-premium/woocommerce/functions/functions.php στην γραμμή 1260 2020-12-18T17:32:12+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /home/www/ulver/..............gr/www/wp-content/plugins/gp-premium/woocommerce/functions/functions.php:1260 Stack trace: #0 /home/www/ulver/..............gr/www/wp-includes/class-wp-hook.php(287): generatepress_wc_add_to_cart_helper('') #1 /home/www/ulver/..............gr/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /home/www/ulver/..............gr/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home/www/ulver/..............gr/www/wp-content/themes/generatepress/footer.php(59): do_action('generate_after_...') #4 /home/www/ulver/..............gr/www/wp-includes/template.php(730): require_once('/home/www/ulver...') #5 /home/www/ulver/..............gr/www/wp-includes/template.php(676): load_template('/home/www/ulver...', true, Array) #6 /home/www/ulver/..............gr/www/wp-includes/general-template.php(92): locate_template(Array, true, true, Array) #7 /home/www/ulver/..............gr/www/wp-content/them μέσα στο /home/www/ulver/..............gr/www/wp-content/plugins/gp-premium/woocommerce/functions/functions.php στην γραμμή 1260
This kind of errors is what i have time by time, is not everyday but sometimes, ps. this is the only error logs i have from Woocommerce error log .
January 2, 2021 at 10:53 am #1602931TomLead DeveloperLead DeveloperPerfect, thanks for that! Will add an additional check in that function to prevent this 🙂
January 4, 2021 at 4:11 am #1604697FunkyCssHallo Tom , No problem glad to help with that!
Have a nice day!
January 4, 2021 at 11:11 am #1605403TomLead DeveloperLead DeveloperThanks, you too! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.