Critical error after updating theme – There has been a critical error on this we

Posted in: Newsmag
Post count: 10

Hello guys,

I’ve taken over runing a blog recently and wanted to update to the latest version of the theme from 4.0 so quite an old version. I couldn’t find an original licence key so purchased the theme again, then uploaded the new theme to the blog which detected the old theme and asked me if i wanted to update. I chose Yes.

As soon as I updated, I’m getting the error message saying that “There has been a critical error on this website.”

It appears that the theme update has totally broken the site. 🙁
I’m working on a snapshot copy of my blog naturally so it’s not the end of the world yet, however, I’d appreciate it if you can help.

I have enabled WordPress debugging so here’s the extra detail I can give you…

Notice: add_shortcode was called incorrectly. Invalid shortcode name: . Do not use spaces or reserved characters: & / < > [ ] = Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /opt/bitnami/apps/wordpress/htdocs/wp-includes/functions.php on line 5311

Fatal error: Uncaught Error: Class 'td_util' not found in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/Newsmag/functions.php:52 Stack trace: #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): {closure}() #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(212): WP_Hook->apply_filters() #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp.php(658): apply_filters() #3 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp.php(748): WP->handle_404() #4 /opt/bitnami/apps/wordpress/htdocs/wp-includes/functions.php(1291): WP->main() #5 /opt/bitnami/apps/wordpress/htdocs/wp-blog-header.php(16): wp() #6 /opt/bitnami/apps/wordpress/htdocs/index.php(17): require('/opt/bitnami/ap...') #7 {main} thrown in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/Newsmag/functions.php on line 52

There has been a critical error on this website.

Learn more about debugging in WordPress.

Can you help?

I’m hoping that the update has retained all of the original theme settings.

Many thanks

Michael

Post count: 10

Arggghhhh, I missed the obvious. I needed to activate and register the theme within my WordPress control panel.

Click on the Newsmag menu at the top and click the “activate” link

My bad.

Hopefully my mistake will help other. :/

Post count: 35449

Hi tech-Mag, I’m sorry that you faced this problem.
When you update the theme you need to be very carefully, and make sure that you make a full backup also do not overwrite the old theme version. Also from the latest theme version, you’ll be able to use the automatic theme update option https://tagdiv.com/update-newspaper-theme/ (before any theme update make sure that you have a full backup and after theme update make sure that the theme is activate and theme plugins are updated and activate).
If you have other questions related to our theme, please let me know!
Have a nice week!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.