-
AuthorPosts
-
May 27, 2021 at 1:09 am #1302476
Hi, my site is slavetotheneedle.com and the latest Enfold update breaks the site. Here is the error we experience:
[26-May-2021 22:56:26 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to av_responsive_images::handler_body_class() must be of the type array, null given, called in /home/slavetotheneedle/public_html/wp-includes/class-wp-hook.php on line 292 and defined in /home/slavetotheneedle/public_html/wp-content/themes/enfold/framework/php/class-responsive-images.php:322 Stack trace: #0 /home/slavetotheneedle/public_html/wp-includes/class-wp-hook.php(292): av_responsive_images->handler_body_class(NULL, Array) #1 /home/slavetotheneedle/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(NULL, Array) #2 /home/slavetotheneedle/public_html/wp-includes/post-template.php(836): apply_filters('body_class', Array, Array) #3 /home/slavetotheneedle/public_html/wp-includes/post-template.php(595): get_body_class(Array) #4 /home/slavetotheneedle/public_html/wp-content/themes/enfold/header.php(109): body_class(' rtl_columns ...') #5 /home/slavetotheneedle/public_html/wp-includes/template.php(730): require_once('/home/slavetoth...') #6 /home/slavetothen in /home/slavetotheneedle/public_html/wp-content/themes/enfold/framework/php/class-responsive-images.php on line 322
I have ruled out a plugin conflict, or at least the site still doesn’t load with plugins disabled. Can you please advise?
May 28, 2021 at 5:49 am #1302749Hey IdeaZone2550,
Thanks for the login details. The regular WordPress login URLs are not working, please share your login URL as well.
Best regards,
RikardMay 28, 2021 at 6:59 am #1302759Here is the link
May 30, 2021 at 5:54 am #1303000Hi,
Thanks for that. I see that you are currently running 4.8.1, could you share FTP login details in private as well, so that we can try to upload the theme manually for you?
Best regards,
RikardMay 30, 2021 at 7:56 am #1303002Hi, FTP credentials below
May 31, 2021 at 5:00 pm #1303232Hi,
I commented following code out in functions.php file of your child theme and that helped
/* add_filter('body_class', 'pwm_woocommerce_cart_status'); function pwm_woocommerce_cart_status( $classes ){ global $woocommerce; //Body class for items in cart // if( $woocommerce->cart->cart_contents_count > 0 ): // $classes[] = 'woocommerce-items-in-cart'; // else : // $classes[] = 'woocommerce-cart-empty'; // endif; // return $classes; } */
Please review your website :)
Best regards,
YigitJune 1, 2021 at 10:23 pm #1303470Thank you so much, I really appreciate you going above and beyond to find the issue.
June 1, 2021 at 11:05 pm #1303476Hi,
You are welcome! :)
For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/
If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)
Enjoy the rest of your day!
Best regards,
Yigit -
AuthorPosts
- The topic ‘Fatal error after update to 4.8.3 from 4.8.1’ is closed to new replies.