<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>PHP 8.1+ Support

[ad_1]

Replies: 2

Hey Jeff, thanks for your plugin and supporting the WordPress community!

Running the plugin on some sites in PHP 8.1+ throws some warnings surrounding the use of explode() when the string is null. Specifically, plugin-core.php:407, method: disable_gutenberg_explode($string) when trimming. Recommend either adding a default value $string = '' or some quick error checking in the method before using the variable on line 409.

Happy to submit a PR!

 

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