Find Answers and Get Support › Forums › Cera – Intranet & Community Theme › Installation & Updates › Demo Content Installation › Website displays only errors after loading demo
- This topic has 1 reply, 2 voices, and was last updated 4 years, 1 month ago by
Manathan.
-
AuthorPosts
-
CPL_AdminParticipant@cplnational
- 2 Topics
- 2 Posts
New website. Just installed theme and demo. The website displays only errors:
Notice: Undefined index: QUERY_STRING in /hermes/bosnacweb06/bosnacweb06ar/b476/ipg.swallowtalesnet/community/wp-content/plugins/bp-better-messages/inc/hooks.php on line 874 Notice: WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /hermes/bosnacweb06/bosnacweb06ar/b476/ipg.swallowtalesnet/community/wp-includes/functions.php on line 5313 Notice: WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /hermes/bosnacweb06/bosnacweb06ar/b476/ipg.swallowtalesnet/community/wp-includes/functions.php on line 5313 Notice: WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the
March 16, 2021 at 21:49 #29884@themodactyl- 0 Topics
- 6737 Posts
Hi CPL_Admin,
Thank you for buying our theme. We hope it will meet all your expectations! 🙂
No worries. These are PHP warnings from the BP Better Message plugin, not errors. Unlike errors, warnings won’t break your website. They’re just messages aimed at developers to improve their code.
To hide this message, I suggest that you activate error logging on your website. Please keep WP_DEBUG to true and just paste the following code lines in your wp-config.php file, just before the line that says ‘That’s all, stop editing! Happy blogging.’:
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
More on this in the following topic: https://codex.wordpress.org/Debugging_in_WordPress
You will still be able to consult the warnings and errors triggered by your website but these won’t appear on your pages anymore.
Regards,
March 17, 2021 at 09:49 #29902 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘Website displays only errors after loading demo’ is closed to new replies.