Problem
At least one Script Blocker is active, and the following error message appears on certain pages:
PHP Fatal error: Uncaught TypeError:
BorlabsCookieSystemWordPressFrontendDriverOutputBufferManager::getBuffer():
Return value must be of type string, null returned in
/var/www/html/wp-content/plugins/borlabs-cookie/classes/Cookie/System/WordPressFrontendDriver/OutputBufferManager.phpCause
Cause A
Check "Borlabs Cookie" > "System" > "Logs" for a Critical error whose message begins with "Your inline CSS appears to be excessively".
Cause B
Your website may contain an extremely large <script> tag that exceeds PHP's regular expression backtrack limit. By default, this limit is set to 1,000,000.
Cause C
A plugin or the active theme contains an error in its handling of buffers. This interferes with our buffer, causing the plugin to receive unexpected data.
Solution
Solution for Cause A
Your website contains too much inline CSS. Please review any plugins that perform CSS optimization. Large amounts of CSS should be stored in separate CSS files rather than being embedded directly into the page.
Solution for Cause B
Increase the backtrack limit in your wp-config.php file e.g. to 5,000,000:
ini_set('pcre.backtrack_limit', '5000000');Solution for Cause C
You need to identify which plugin or theme is causing the issue.
Please create a staging site to isolate the problem. We recommend using WP Staging (https://de.wordpress.org/plugins/wp-staging/ or https://wp-staging.com/).
Once the staging site has been created, log in to the staging environment and deactivate all plugins except Borlabs Cookie. Then check whether the issue still occurs.
If the issue no longer occurs, reactivate the other plugins one at a time and test after each activation to see whether the issue reappears. This will help identify whether a plugin conflict exists and, if so, which plugin is causing it.