Code lines on header
Hello since a couple of weeks, I have these lines on all my website built with Brizy under Wordpress. Could you help me to identify what went wrong and where?
-----------
Warning: Attempt to read property "post_type" on null in /home/clients/aa3dcef1bcf635101f6720d42492618e/web/wp-content/plugins/brizy/admin/blocks/main.php on line 207
Warning: Attempt to read property "ID" on null in /home/clients/aa3dcef1bcf635101f6720d42492618e/web/wp-content/plugins/brizy/admin/blocks/main.php on line 208
--------
Many thanks!
Alex
-
Hi Alex,
Thank you for reaching out to us.
We have already reported this issue to our dev team, it should be fixed soon.
The warnings are non-fatal and should not affect your site's overall functionality.In the meantime, please add the following directives in wp-config.php to hide the warning on the front-end.
ini_set('log_errors','On');
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);If you don't have access to update the wp-config.php file, you can also use a plugin to hide error reporting.
https://wordpress.org/plugins/debug/
Sorry for the inconvenience.Best regards,
Ariel H.0
Please sign in to leave a comment.
Comments
1 comment