Find Answers and Get Support › Forums › Cera – Intranet & Community Theme › Installation & Updates › Theme Installation and Updates › Theme installation/activation causes errors on fresh WP 6.0.2
- This topic has 4 replies, 2 voices, and was last updated 1 year, 6 months ago by Manathan.
-
AuthorPosts
-
KaelonParticipant@kaelon
- 1 Topics
- 3 Posts
Hi there,
I created a brand new WordPress 6.0.2 website, and then went to install Cera by uploading the cera.zip file from the purchased archive under Appearance > Themes > Add New > Upload, and when I selected to “activate” the theme, I received all of these PHP errors:
Warning: The magic method Merlin_Logger::__wakeup() must have public visibility in /wp-content/themes/cera/libs/merlin/includes/class-merlin-logger.php on line 194
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/themes/cera/libs/merlin/includes/class-merlin-logger.php:194) in /wp-admin/includes/misc.php on line 1381
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/themes/cera/libs/merlin/includes/class-merlin-logger.php:194) in /wp-includes/functions.php on line 6878
/wp-admin/themes.php?page=merlin
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/themes/cera/libs/merlin/includes/class-merlin-logger.php:194) in /wp-includes/pluggable.php on line 1421Warning: Cannot modify header information – headers already sent by (output started at /wp-content/themes/cera/libs/merlin/includes/class-merlin-logger.php:194) in /wp-includes/pluggable.php on line 1424
What exactly did I do wrong here on the installation of the theme?
Thank you!
September 29, 2022 at 23:06 #42766@themodactyl- 0 Topics
- 6297 Posts
Hi Kaelon,
Thank you for buying our theme. We hope it will meet all your expectations!
These messages are PHP warnings, not errors. Unlike errors, warnings won’t break your website. They’re just messages aimed at developers to improve their code. Unfortunately, in that case, when these type of messages are displayed in the header, they prevent the theme setup from launching correctly.
In most case, hiding these messages will solve this issue. 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,
September 30, 2022 at 08:16 #42770KaelonParticipant@kaelon- 1 Topics
- 3 Posts
Thanks. I did this, but then when I went to activate the page, I just got a white / blank screen with the following URL displayed on the white foreground:
https://intranet.domain.com/wp-admin/themes.php?page=merlin
What’s missing here?
September 30, 2022 at 17:32 #42774@themodactyl- 0 Topics
- 6297 Posts
Hi Kaelon,
Thank you for your feedback.
Could you create a new website user for us please? If possible with administrator capabilities so we can make a quick check of your settings.
You can post the user name and password in your next reply and mark it as private to keep this between us.Also, are we free to deactivate plugins for our tests? In this case, I invite you to make a backup before we investigate your website further in order to make sure you don’t loose any data if something goes wrong.
Thank you.
October 3, 2022 at 09:31 #42793 -
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 ‘Theme installation/activation causes errors on fresh WP 6.0.2’ is closed to new replies.