Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1100504

    Hi,

    I already opened a ticket that WP has some errors caused by the Enfold theme after updating to version 5.2. See ticket here:

    https://kriesi.at/support/topic/wordpress-5-2-upade-enfold-fatal-errors/#post-1100056

    Unfortunately the problem is not solved. All our WP installations now sends us emails whenever the websites are loaded, which is a lot by the way. Here’s again one of this mails. We already deactivated all PlugIns etc.. The problem is clearly caused by Enfold by my understanding:

    —–
    Hallo!

    Seit WordPress 5.2 gibt es eine eingebaute Funktion, die erkennt, wenn ein Plugin oder ein Theme einen fatalen Fehler auf deiner Website verursacht, und dich deswegen mit dieser automatisierten E-Mail benachrichtigt.

    In diesem Fall hat WordPress einen Fehler in deinem Theme „Enfold“ abgefangen.

    Besuche zunächst deine Website (https://www.domain.de/) und überprüfe sie auf sichtbare Probleme. Besuche als nächstes die Seite, auf der der Fehler aufgetreten ist (https://www.domain.de/wp-login.php) und prüfe, ob es sichtbare Probleme gibt.

    Bitte kontaktiere dein Hosting-Unternehmen, um Unterstützung bei der weiteren Untersuchung dieses Problems zu erhalten.

    Wenn deine Website fehlerhaft zu sein scheint und du nicht mehr wie gewohnt auf dein Dashboard zugreifen kannst, hat WordPress jetzt einen speziellen „Wiederherstellungsmodus“. Auf diese Weise kannst du dich sicher auf deinem Dashboard anmelden und weitere Untersuchungen durchführen.

    https://www.domain.de/cms/?action=enter_recovery_mode&rm_token=XXX&rm_key=XXX

    Um deine Website zu schützen, läuft dieser Link in 1 Tag ab. Aber keine Sorge: Ein neuer Link wird dir per E-Mail zugeschickt, wenn der Fehler nach Ablauf der Frist erneut auftritt.

    Fehler-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 361 der Datei /var/www/clients/client22/web72/web/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php verursacht. Fehlermeldung: Uncaught Error: Class ‘ShortcodeHelper’ not found in /var/www/clients/client22/web72/web/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php:361
    Stack trace:
    #0 /var/www/clients/client22/web72/web/wp-includes/class-wp-hook.php(286): AviaBuilder->handler_wp_head(”)
    #1 /var/www/clients/client22/web72/web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/clients/client22/web72/web/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #3 /var/www/clients/client22/web72/web/wp-includes/general-template.php(2746): do_action(‘wp_head’)
    #4 /var/www/clients/client22/web72/web/wp-content/themes/enfold/header.php(77): wp_head()
    #5 /var/www/clients/client22/web72/web/wp-includes/template.php(722): require_once(‘/var/www/client…’)
    #6 /var/www/clients/client22/web72/web/wp-includes/template.php(671): load_template(‘/var/www/client…’, true)
    #7 /var/www/clients/client22/web72/web/wp-includes/general-template.php(41): locate_template(Arra

    —–

    The error message clearly says that the problem is caused by the Enfold file: template-builder.class.php

    Please have a look at this again at this problem. Thanks again.

    BR, Julian

    #1100716

    Hey conflock,

    Thanks for coming back.

    As I already said in https://kriesi.at/support/topic/wordpress-5-2-upade-enfold-fatal-errors/#post-1100018 – from point of program flow the class ShortcodeHelper must be defined at that point as it is loaded in init hook.

    Do you have any chance to check with your hoster what queries caused this message ?

    As a temp. fix you can replace in file enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php line 361:

    
    ShortcodeHelper::$shortcode_index = 0;
    

    with

    
    if( class_exists( 'ShortcodeHelper' ) )
    {
         ShortcodeHelper::$shortcode_index = 0;
    }
    

    Best regards,
    Günter

    #1101300

    Hi

    My error message looks a bit different than the one from Julian, but I think the problem is the same at the end.
    Posted details here.

    Thanks a lot
    Michael

    #1101381

    Hi,

    @michaelH

    Replied to your posted details.

    Best regards,
    Günter

    #1102479

    Sorry, our provider was not able to find out anything. In the meantime we’re experiencing massive problems on many of our Enfold websites. Just one example in the private section. WP keeps emailing us about system errors. We also replaced the function as mentioned above.

    Best Regards, Julian

    #1102521

    Hi,

    Are you using caching plugins or some php caching plugins? Try to disable them temporarily and check if this changes something?

    I’m also using WP 5.2 and PHP 7.3 on my private live server and do not recieve any mails.

    I will also ask Kriesi and the others if they have an idea.

    Please also see https://kriesi.at/support/topic/wordpress-sends-message-about-technical-problem-with-enfold/#post-1101383

    Best regards,
    Günter

    • This reply was modified 5 years, 7 months ago by Günter.
    #1102846

    Sorry, indeed it seems some of the problems are solved when disabling “Cache Enabler”. Since the last Enfold version we never had any problems with this plugin ever.

    Nevertheless, we so still get the WP warning emails all the time. Are you planning to merge in the code change in ‘template-builder.class.php’ you mentioned above in the next version of enfold?

    Thanks again for the quick reply.

    Julian

    #1102852

    Hi,

    Yes, it is already merged.

    If you want we can provide you a beta release including the fix.

    I will check if I can reproduce the problem with the caching plugin you mentioned above.

    Thank you for your assistance and patience.

    Best regards,
    Günter

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.