Fatal error since version 3.5.0
-
Dear Florian,
I’have been using your plugin for a while now and love it’s quality and flexibility. Thanks again for your great work and support.
I’ve been manually using your filter_markup() function in my theme to enable lazyloading on category pages (with category descriptions) the following way
add_filter( 'genesis_term_intro_text_output','archive_images_responsive', 1); function archive_images_responsive($archive_description) { $archive_description = wp_make_content_images_responsive($archive_description); if(class_exists( 'FlorianBrinkmann\LazyLoadResponsiveImages\Plugin' )) { $lazyloader = new \FlorianBrinkmann\LazyLoadResponsiveImages\Plugin; $archive_description = $lazyloader->filter_markup($archive_description); } return $archive_description; }
But since version 3.5.0, I get the following error on all my category pages (in local):
Fatal error: Uncaught Error: Call to a member function is_admin_request() on null in /var/www/html/web/app/plugins/lazy-loading-responsive-images/src/Plugin.php:183
I might be doing smthing wrong… any suggestions???
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Fatal error since version 3.5.0’ is closed to new replies.