Home Forums Basel support forum Logs errors

Logs errors

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #209348

    Bertrand
    Participant

    Hi,

    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 1980

    2020-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 1980

    Should I worry about anything?

    Thanks for your help.
    Regards,
    Bertrand

    #209525

    Hello,

    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

    #209747

    Bertrand
    Participant

    Hi,

    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,
    Bertrand

    #209889

    Hello,

    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

    #211927

    Bertrand
    Participant

    Hi,

    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 1980

    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 1980

    Thanks for your help!
    Regards,
    Bertrand

    #211975

    Hello,

    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

    #218949

    Bertrand
    Participant

    Hi,

    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)

    #218973

    Artem Temos
    Keymaster

    Where exactly can we see these errors? Do you know the page that generates them? We need to know it to be able to reproduce.

    #218989

    Bertrand
    Participant

    Hi,

    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 1972

    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 1972

    #219088

    Artem Temos
    Keymaster

    These 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.

Viewing 10 posts - 1 through 10 (of 10 total)