Home › Forums › Basel support forum › Logs errors
Logs errors
- This topic has 9 replies, 3 voices, and was last updated 4 years, 3 months ago by Artem Temos.
-
AuthorPosts
-
July 8, 2020 at 8:06 am #209348
BertrandParticipantHi,
I recently checked my logs and got this:
2020-07-07T05:40:41+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php:1980
Stack trace:
#0 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1294): basel_cart_count()
#1 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1844): basel_header_block_cart()
#2 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(3, ‘cart’)
#3 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_child(Array)
#4 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(‘right-column’, Array)
#5 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_chil in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php on line 19802020-07-07T05:40:42+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php:1980
Stack trace:
#0 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1294): basel_cart_count()
#1 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1844): basel_header_block_cart()
#2 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(3, ‘cart’)
#3 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_child(Array)
#4 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(‘right-column’, Array)
#5 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_chil in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php on line 1980Should I worry about anything?
Thanks for your help.
Regards,
BertrandJuly 8, 2020 at 7:53 pm #209525
Elise NoromitMemberHello,
Please deactivate all the plugins not related to the theme and switch the parent theme, check the issue, if the problem remains, leave the plugins not activated and provide the site admin access to the private area.
Please make sure your theme and all the related plugins have been updated.
Best Regards
July 9, 2020 at 1:55 pm #209747
BertrandParticipantHi,
Thanks for your quick answer.
I have installed a staging site version of my site in order to deactivate plugins one by one but I cannot check log errors since they are errors from a few days ago and they don’t appear in the log view.My site is fully operational and I do not want to break anything… What else can I do? Are these errors critical? I have no idea what they actually means.
Thanks a lot for your help.
Regards,
BertrandJuly 10, 2020 at 8:01 am #209889
Elise NoromitMemberHello,
Please watch the log files and advise when these errors occur again. Perhaps the reason was the non-updated plugins. You have updated the plugins and the errors have gone.
Best Regards
July 17, 2020 at 11:53 am #211927
BertrandParticipantHi,
The errors keep coming. Deactivating plugins is not helping here since I do not know where the error comes from. Do you have any other suggestion that might help resolve this?
Just in case, I have a staging site running…
Last error log:
2020-07-14T19:53:21+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php:1980
Stack trace:
#0 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1294): basel_cart_count()
#1 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1844): basel_header_block_cart()
#2 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(3, ‘cart’)
#3 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_child(Array)
#4 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(‘right-column’, Array)
#5 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_chil in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php on line 19802020-07-14T19:53:21+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php:1980
Stack trace:
#0 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1294): basel_cart_count()
#1 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1844): basel_header_block_cart()
#2 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(3, ‘cart’)
#3 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_child(Array)
#4 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(‘right-column’, Array)
#5 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_chil in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php on line 1980Thanks for your help!
Regards,
BertrandJuly 17, 2020 at 2:27 pm #211975
Elise NoromitMemberHello,
Please make the full backup of the site and update the theme: https://xtemos.com/docs/basel/update-theme/
Then update the related plugins. If the problem remains, deactivate all the plugins not related to the theme and switch the parent theme, provide the site admin access as well as FTP access to the private area.
Best Regards
August 15, 2020 at 1:17 pm #218949
BertrandParticipantHi,
I have udpated everything but the log errors persist…
Attached you will find the access to our website.I created a staging version of the website so that you can test anything you like (see access)
August 15, 2020 at 3:57 pm #218973
Artem TemosKeymasterWhere exactly can we see these errors? Do you know the page that generates them? We need to know it to be able to reproduce.
August 15, 2020 at 5:10 pm #218989
BertrandParticipantHi,
No I have been trying to find what generates these errors but in vain.
Last Logs error was this:
2020-08-11T06:06:57+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php:1972
Stack trace:
#0 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1294): basel_cart_count()
#1 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1844): basel_header_block_cart()
#2 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(3, ‘cart’)
#3 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_child(Array)
#4 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(‘right-column’, Array)
#5 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_chil in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php on line 19722020-08-11T06:06:57+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php:1972
Stack trace:
#0 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1294): basel_cart_count()
#1 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1844): basel_header_block_cart()
#2 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(3, ‘cart’)
#3 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_child(Array)
#4 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1824): basel_header_block(‘right-column’, Array)
#5 /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/template-tags.php(1831): basel_process_chil in /customers/9/1/a/argos-solutions.com/httpd.www/webshop/wp-content/themes/basel/inc/woocommerce.php on line 1972August 16, 2020 at 2:52 pm #219088
Artem TemosKeymasterThese errors were generated a few days ago. Maybe you tried to open the website while the theme update or some plugins update. If they are not constantly generated then you can ignore them.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register