Cannot use output buffering in output buffering display handlers on list page

Getting the error on a page that contains a long list of items

PHP Fatal error: preg_replace_callback(): Cannot use output buffering in output buffering display handlers in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeBase.php on line 595′

The following settings are on

Optimize JavaScript Code

Do not aggregate but defer

Also defer inline JS

excluded: seal.js, js/jquery/jquery.js, ads.min.js, js/jquery/jquery.min.js

Optimize CSS Code

Optimize HTML Code

Also minify inline JS/ CSS

Save aggregated script/css as static files

Enable 404 fallbacks

Also optimize for logged in editors/ administrators

Disable extra compatibilty logic

Lazy-load images

Lazy-load from nth image: 1

Google Fonts: Combine and link deferred in head (fonts load late, but are not render-blocking), includes display:swap.

Remove emojis

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer