Warning: Attempt to read property "post_type" on null
I just updated Brizy and Brizy Pro and now I have this error on the top of client website. It also seems to have broken custom posts I have created using a custom plugin. Is this a known issue? Any tips to fix this?
-
Hi Bryan,
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 -
Hi Bryan,
We've released an update to resolve this issue. Please update, and feel free to reach out if you have any further questions. If you added the above directives in your wp-config.php file, you could remove them or leave them in place—they simply suppress PHP warnings and won’t affect your site.

Best regards,
Ariel H.0
Please sign in to leave a comment.
Comments
2 comments