フロントページ設定するとWarningが表示されます。
Brizyで作成した固定ページをフロントページに設定し,その後,そのページを確認すると,ページ上部に下記の表示がされるようになりました。
(1)
Warning: Attempt to read property "post_type" on null in/home/c5173814/public_html/20tore.com/wp-content/plugins/brizy/admin/blocks/main.php on line 207
(2)
Warning: Attempt to read property "ID" on null in /home/c5173814/public_html/20tore.com/wp-content/plugins/brizy/admin/blocks/main.php on line 208
どのように対処したらよいのかご教授ください。
使用しているバージョンは
Brizy:2.5.9
Brizy Pro:2.5.6
です。
-
Hi Are,
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