ı have error
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/xxxx/public_html/wp-content/plugins/brizy/vendor/bagrinsergiu/content-placeholder/lib/AbstractPlaceholder.php on line 93
how can ı solve this my website is not working.
-
Hi Ahmet,
WordPress provides a debug tool to help discover what may be the cause of an error on your website. This tool can display information on your live website, hence enabling debug mode is not recommended for a live website. Instead, you should create a debug log file. You can then check that log file to determine the cause of the issue you're attempting to resolve.
The 'Deprecated' warnings are meant for the developers of themes/plugins and not meant for the end users. Hence the debug mode should be disabled to hide these warnings from end users. To disable the WordPress debug mode, 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
Please sign in to leave a comment.
Comments
1 comment