1
votes

After wordpress is updated automaticlly i received an error in email with this error messages

Error Details
=============
An error of type E_ERROR was caused in line 369 of the file /home/onehostscp/public_html/murtishi-bau.ch/wp-content/plugins/thememove-core/export/export.php. Error message: Uncaught Error: Class 'ThemeMove_Export' not found in /home/onehostscp/public_html/murtishi-bau.ch/wp-content/plugins/thememove-core/export/export.php:369
Stack trace:
#0 /home/onehostscp/public_html/murtishi-bau.ch/wp-content/plugins/thememove-core/thememove-core.php(50): include_once()
#1 /home/onehostscp/public_html/murtishi-bau.ch/wp-settings.php(360): include_once('/home/onehostsc...')
#2 /home/onehostscp/public_html/murtishi-bau.ch/wp-config.php(90): require_once('/home/onehostsc...')
#3 /home/onehostscp/public_html/murtishi-bau.ch/wp-load.php(37): require_once('/home/onehostsc...')
#4 /home/onehostscp/public_html/murtishi-bau.ch/wp-login.php(12): require('/home/onehostsc...')
#5 {main}
  thrown

I deactived the plugin but the error still exist i receive this :

Fatal error: Uncaught Error: Call to undefined function header_class() in /home/onehostscp/public_html/murtishi-bau.ch/wp-content/themes/structure/templates/header-preset-06.php:34 Stack trace: #0 /home/onehostscp/public_html/murtishi-bau.ch/wp-content/themes/structure/header.php(36): include() #1 /home/onehostscp/public_html/murtishi-bau.ch/wp-includes/template.php(722): require_once('/home/onehostsc...') #2 /home/onehostscp/public_html/murtishi-bau.ch/wp-includes/template.php(671): load_template('/home/onehostsc...', true) #3 /home/onehostscp/public_html/murtishi-bau.ch/wp-includes/general-template.php(41): locate_template(Array, true) #4 /home/onehostscp/public_html/murtishi-bau.ch/wp-content/themes/structure/page.php(28): get_header() #5 /home/onehostscp/public_html/murtishi-bau.ch/wp-includes/template-loader.php(98): include('/home/onehostsc...') #6 /home/onehostscp/public_html/murtishi-bau.ch/wp-blog-header.php(19): require_once('/home/onehostsc...') #7 /home/onehostscp/public_html/murtishi-bau.ch/index.php(17): req in /home/onehostscp/public_html/murtishi-bau.ch/wp-content/themes/structure/templates/header-preset-06.php on line 34

There has been a critical error on your website.

Learn more about debugging in WordPress.

Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/onehostscp/public_html/murtishi-bau.ch/wp-includes/functions.php on line 4552

Here is code of header-preset-06.php on line 34 and the LINK of website

    <header <?php header_class(); ?><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> role="banner" itemscope="itemscope" itemtype="http://schema.org/WPHeader">
    <div class="container">
        <div class="row">
            <div class="col-md-3 col-xs-6">
                <div class="site-branding">
                    <?php
                    global $thememove_custom_logo;
                    if ( $thememove_custom_logo ) {
                        ?>
                        <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
                            <img src="<?php echo $thememove_custom_logo; ?>" alt="logo"/>
                        </a>
3

3 Answers

0
votes

It seems that your theme is working with the plugin in pair. It means that your theme needs the plugin to work properly (for instance it calls the function header_class() from the plugin).

You should update the plugin to avoid this error (the plugin claims WordPress 5.3.2 compatibility, see https://wordpress.org/plugins/thememove-core/).

0
votes

First check this post out :

Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in

Looks like a plug-in is conflicting with your theme Try to switch your WP to twenty thirteen theme or an native Wp theme and see the impact , I or you can deactivate all plugins and activate them one by one and see which plugin is causing the conflicts If none of that works try to install a plugin called site health https://kb.yoast.com/kb/how-to-check-for-plugin-conflicts/

0
votes

Try to switch to Wordpress default theme and see if the error still occurs If you still have the problem then try to add to you we-config.php these three lines ‘’’’ define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false ); ‘’’

After that fire up ur site and church a file called debug.log located in your work-content folder , open this file it will tell you exactly what’s wrong in a simple human readable way One more thing try to update your theme while giving the theme folder the right permission to read and write Let us know either this solved your problem or not