Error php line 93
Hi, no rush but I have just updated both Brizy plugins and I am getting this while pro is active, any ideas. Thanks Dan
Deprecated: Return type of BrizyPlaceholders\AbstractPlaceholder::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adeptcladding/public_html/wp-content/plugins/brizy/vendor/bagrinsergiu/content-placeholder/lib/AbstractPlaceholder.php on line 93
-
If i disable all other plugins I get thsi
Warning: Cannot modify header information - headers already sent by (output started at /home/adeptcladding/public_html/wp-content/plugins/brizy/vendor/bagrinsergiu/content-placeholder/lib/AbstractPlaceholder.php:5) in /home/adeptcladding/public_html/wp-admin/includes/misc.php on line 1431
Warning: Cannot modify header information - headers already sent by (output started at /home/adeptcladding/public_html/wp-content/plugins/brizy/vendor/bagrinsergiu/content-placeholder/lib/AbstractPlaceholder.php:5) in /home/adeptcladding/public_html/wp-includes/functions.php on line 7049
Warning: Cannot modify header information - headers already sent by (output started at /home/adeptcladding/public_html/wp-content/plugins/brizy/vendor/bagrinsergiu/content-placeholder/lib/AbstractPlaceholder.php:5) in /home/adeptcladding/public_html/wp-admin/admin-header.php on line 90 -
Hi, got it, It's a php 8.1 update problem. Do you know about it????
0 -
Hi
There are no compatibility issues between PHP 8.1 and the most recent versions of Brizy.
If you enable the WordPress Debug mode on your project, these error messages can show up on your website. To hide these messages, open the file wp-config.php on your site root (using File Manager or an FTP tool). Locate these 2 lines of code in the file. Save the file after changing the word "true" to "false."
if ( ! defined( 'WP_DEBUG' ) ) {
define( 'WP_DEBUG', true );
}Once you make the change, your code should look like this
if ( ! defined( 'WP_DEBUG' ) ) {
define( 'WP_DEBUG', false );
}0 -
Cheers mate, thanks for your help. Again spot on.
0
Please sign in to leave a comment.
Comments
4 comments