Error with Blocksy Theme
Hi,
till now nothing was a problem with blocksy.
I changed something in the customizer (but I unfortunately do not know what it was) and now there is an error shown at my homepage which says:
Warning: Attempt to read property "post_type" on null in /home/.sites/35/site2639933/web/wp-content/plugins/brizy/admin/blocks/main.php on line 207 Warning: Attempt to read property "ID" on null in /home/.sites/35/site2639933/web/wp-content/plugins/brizy/admin/blocks/main.php on line 208
When switching to theme like "twenty-twenty-four" the error does not appear.
Can you help me on that one?
Best Greetings.
-
Hello Bastian,
These are warnings about certain incompatibility between your theme and Brizy. We are looking into this issue. While we take time time to fix it, kindly hide this warning by disabling the DEBUG mode in your WordPress instance. Follow the procedure at https://startertemplates.com/docs/disable-debug-mode/ Please also purge all server cache and cache in your WordPress Dashboard.
0 -
Hi, Is there any update yet?
0 -
Hi Bastian,
Thank you for the update.
Unfortunately, this is a known issue. Our Dev team is aware of it, and a fix should be available soon. The warnings are non-fatal and shouldn’t impact your site’s 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
3 comments