Hello, I get a critical error on my new mag theme. Here are some details.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.2
Active theme: Newsmag (version 5.3)
Current plugin: tagDiv Standard Pack (version 1.5 | built on 05.10.2022 13:12)
PHP version 7.4.33
Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 46 of the file /home/housewiv/batiris.gr/wp-content/plugins/td-standard-pack/td-standard-pack.php. Error message: require_once(): Failed opening required ‘Newsmag/functions.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’)
I had previously installed Newspaper theme, maybe that’s why. But I have deleted the plugin folder and anything else related to the Newspaper theme.
Here is a log from the WordPress debug.
Warning: require_once(legacy/Newsmag/functions.php): Failed to open stream: No such file or directory in /home/housewiv/batiris.gr/wp-content/plugins/td-composer/td-composer.php on line 189
Fatal error: Uncaught Error: Failed opening required ‘legacy/Newsmag/functions.php’ (include_path=’.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/housewiv/batiris.gr/wp-content/plugins/td-composer/td-composer.php:189 Stack trace: #0 /home/housewiv/batiris.gr/wp-includes/class-wp-hook.php(308): {closure}() #1 /home/housewiv/batiris.gr/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #2 /home/housewiv/batiris.gr/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /home/housewiv/batiris.gr/wp-content/themes/Newsmag/includes/wp-booster/tagdiv-wp-booster-functions.php(3): do_action() #4 /home/housewiv/batiris.gr/wp-content/themes/Newsmag/functions.php(20): require_once(‘/home/housewiv/…’) #5 /home/housewiv/batiris.gr/wp-settings.php(591): include(‘/home/housewiv/…’) #6 /home/housewiv/batiris.gr/wp-config.php(134): require_once(‘/home/housewiv/…’) #7 /home/housewiv/batiris.gr/wp-load.php(50): require_once(‘/home/housewiv/…’) #8 /home/housewiv/batiris.gr/wp-blog-header.php(13): require_once(‘/home/housewiv/…’) #9 /home/housewiv/batiris.gr/index.php(17): require(‘/home/housewiv/…’) #10 {main} thrown in /home/housewiv/batiris.gr/wp-content/plugins/td-composer/td-composer.php on line 189
There has been a critical error on this website.
Because the website is in early stage I can easily delete the whole WordPress installation and create one new and start over.
Do you have any further comments about the log ? Thanks in advance!
-
This reply was modified 3 years by
koliman. Reason: just to click the notify me button
Hi,
Yes, it seems logical that when the plugins on one theme are used on another theme, these errors will occur. Normally, if you delete all tagDiv plugins and the theme and install the new theme and these plugins from the Newsmag > plugins section, the problem should no longer appear.
Thank you!