-
AuthorPosts
-
March 12, 2020 at 12:15 pm #1192562
Hi, I manage few sites for clients, sites with low traffic but with Enfold theme latest release. In WooCommerce log I see this entries, marked as fatal errors. What does that mean and how important are these errors?
2020-03-12T07:57:59+00:00 CRITICAL Uncaught Error: Call to a member function get_cart() on null in /wp-content/themes/enfold/config-woocommerce/config.php:2016
Stack trace:
#0 /wp-includes/class-wp-hook.php(288): avia_woocommerce_cart_pos(Array, Array, ‘html_’)
#1 /wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#2 /wp-content/themes/enfold/functions-enfold.php(1352): apply_filters(‘avf_header_clas…’, Array, Array, ‘html_’)
#3 /wp-content/themes/enfold/header.php(25): avia_header_class_string()
#4 /wp-includes/template.php(722): require_once(‘/www/htdocs/w01…’)
#5 /wp-includes/template.php(671): load_template(‘/www/htdocs/w01…’, true)
#6 /wp-includes/general-template.php(41): locate_template(Array, true)
#7 /wp-content/themes/enfold/config-woocommerce/config.php in Zeile 2016March 12, 2020 at 12:16 pm #1192563Setup is WordPress 5.3.2 and WooCommerce 3.9.3.
March 13, 2020 at 3:21 am #1192813Hi,
Sorry for the problem. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardMarch 27, 2021 at 12:01 pm #1290720I am getting the same issue. Please advise me on how to fix it.
2021-03-08T13:02:44+00:00 CRITICAL Uncaught Error: Call to a member function get_cart() on null in /home/5/a/athletic1080/www/wp-content/themes/enfold-new/config-woocommerce/config.php:1800
Stack trace:
#0 /home/5/a/athletic1080/www/wp-includes/class-wp-hook.php(287): avia_woocommerce_cart_pos(Array, Array, ‘html_’)
#1 /home/5/a/athletic1080/www/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)
#2 /home/5/a/athletic1080/www/wp-content/themes/enfold-new/functions-enfold.php(1138): apply_filters(‘avf_header_clas…’, Array, Array, ‘html_’)
#3 /home/5/a/athletic1080/www/wp-content/themes/enfold-new-child/header.php(12): avia_header_class_string()
#4 /home/5/a/athletic1080/www/wp-includes/template.php(730): require_once(‘/home/5/a/athle…’)
#5 /home/5/a/athletic1080/www/wp-includes/template.php(676): load_template(‘/home/5/a/athle…’, true, Array)
#6 /home/5/a/athletic1080/www/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#7 /home/5/a/athletic1080/www/wp-content/themes/enfold-new/404.php(9): get_ in /home/5/a/athletic1080/www/wp-content/themes/enfold-new/config-woocommerce/config.php on line 1800March 28, 2021 at 1:47 pm #1290884Hi sna0010,
Which version of Enfold are you running?
Which version of php are you running?
Best regards,
VictoriaMarch 31, 2021 at 3:38 pm #1291581Victoria, I am using Enfold 3.8 and PHP 7.3
March 31, 2021 at 3:49 pm #1291583Hi
@sna0010 You are currently using a very old version of the theme which is not compatible with your PHP version.Please refer to this post – https://kriesi.at/documentation/enfold/theme-update/ and update Enfold to the latest version 4.8.1.
Then, please generate a Personal Token by referring to this post – https://kriesi.at/documentation/enfold/theme-registration/#how-to-generate-a-envato-personal-token and insert it in Enfold theme options to receive auto updates :)
Regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.