-
AuthorPosts
-
September 18, 2019 at 1:38 pm #1139465
Despite the update to version 4.6.2 we still have the problem that all our Enfold WordPress installations generate a lot of email error messages. This problem has already been addressed several times via ticket and it has also been assured that it will be fixed by the update. This is not the case. Enfold is obviously not compatible with WordPress 5.2. We urgently need a solution because each WP installation sends up to 10 emails per day.
See E-Mail (German):
____________________________________________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.mydomain.de/) und überprüfe sie auf sichtbare Probleme. Besuche als nächstes die Seite, auf der der Fehler aufgetreten ist (https://www.mydomain.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.mydomain.de/cms/?action=enter_recovery_mode&rm_token=xxxxxxxxx&rm_key=xxxxxxxxx
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 18 der Datei /var/www/clients/client16/web49/web/wp-content/themes/enfold/searchform.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function av_icon_char() in /var/www/clients/client16/web49/web/wp-content/themes/enfold/searchform.php:18
Stack trace:
#0 /var/www/clients/xxxxxx/web00/web/wp-includes/general-template.php(258): require()
#1 /var/www/clients/xxxxxx/web00/web/wp-content/themes/enfold/includes/error404.php(17): get_search_form()
#2 /var/www/clients/xxxxxx/web00/web/wp-includes/template.php(724): require(‘/var/www/client…’)
#3 /var/www/clients/xxxxxx/web00/web/wp-includes/template.php(671): load_template(‘/var/www/client…’, false)
#4 /var/www/clients/xxxxxx/web00/web/wp-includes/general-template.php(168): locate_template(Array, true, false)
#5 /var/www/clients/xxxxxx/web00/web/wp-content/themes/enfold/404.php(32): get_template_part(‘includes/error4…’)
#6 /var/www/clients/xxxxxx/web00/web/wp-content/plugins/wp-cerber/cerber-load.php(3632): include(‘/var/www/client…’)
#7 /var/www/clients/xxxxxx/web00/web/wp-content/plugins/wp-cerber/cerber-load.php(1900): cerber_404_page()- This topic was modified 5 years, 2 months ago by conflock.
September 21, 2019 at 4:00 pm #1140477Hey conflock,
Sorry for the late reply, I have not been able to produce any errors that trigger emails such as these with WordPress v5.2.3 and Enfold v4.6.2
I see that some of your errors above are from plugins, please try disabling your plugins and custom scripts and functions, a good way to test without affecting your live site is to create a staging site, most web hosts have a one-click option to do this for you.Best regards,
MikeSeptember 23, 2019 at 6:26 pm #1141082Thanks for the reply. We have already tested it with the Enfold standard installation without plug-ins and these e-mails are sent anyway. The error message clearly states that the error in the file:
/enfold/searchform.php:18
In some other files similar error messages were generated and these were corrected with the update. Your support employee Günter had even provided us with a fixed file versions prior to the last update. But there still seems to be an incompatible PHP function in this file.
September 25, 2019 at 8:31 pm #1141999Hi,
What php version is your web site running at?
Best regards,
BasilisSeptember 26, 2019 at 1:41 pm #1142262Hi,
all our WP websites run at PHP 5.3.1.
Best Regards, Julian
September 26, 2019 at 4:50 pm #1142385Hi conflock,
The minimum php requirement is php5.6.3. You need to be running at least that or higher for WordPress, the theme and plugins to work properly.
Best regards,
VictoriaSeptember 26, 2019 at 6:24 pm #1142446Ups sorry that was a typo. I meant of course PHP 7.3.1.
BR, Julian
September 29, 2019 at 7:45 pm #1143121Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
BasilisSeptember 30, 2019 at 2:35 pm #1143383See credentials in private section.
Thanks in advance!
Best Regards, Julian
October 2, 2019 at 2:37 am #1144014Hi,
Thank you for the update.
The error points to the “av_icon_char” function in the searchform.php file. This function generates the character code for the search icon, so what we did is check the search page but we didn’t see any errors there. The magnifying glass icon in the search bar is displaying properly. (see private field)
This is also included in the error stack trace.
#6 /var/www/clients/xxxxxx/web00/web/wp-content/plugins/wp-cerber/cerber-load.php(3632): include(‘/var/www/client…’) #7 /var/www/clients/xxxxxx/web00/web/wp-content/plugins/wp-cerber/cerber-load.php(1900): cerber_404_page()
The error points to a plugin called “wp-cerber” and the function “cerber_404_page”. What is the plugin for?
Best regards,
IsmaelOctober 5, 2019 at 7:55 pm #1145346With over 100.000 installations WP Cerber is one of the biggest WP security plugins. We have WP Cerber installed on over 100 websites, but the error above only occurs on the few Sites using Enfold.
Best Regards, Juian
October 7, 2019 at 3:08 am #1145595Hi,
Thank you for the update.
When do you usually get the error notification? Please take note of the time the error notifications are received. They are probably sent after someone access a page that do not exists, which then triggers a 404 error. You can temporarily replace the content of the searchform.php file with the following code to fix the issue.
// https://pastebin.com/T34rqmDF
You should also contact the plugin author for additional help. They should be able to provide further insights about the error stack trace above.
Best regards,
IsmaelOctober 8, 2019 at 11:28 am #1146109Hi Ismael,
unfortunately this doesn’t fix the problem. We’re still getting tons of emails. We tested the 404 theory and can say, that this can’t be the reason. I’m still not sure if this hast to do with the WP Cerber PlugIn, but as Cerber is one of the most popular PlugIns out there wouldn’t it make sense that somebody from the Enfold team communicate directly with them?
Best regards, Julian
October 9, 2019 at 11:33 pm #1146682Hi,
When do you usually get the error notifications? Are the errors the same?
We tested the 404 theory and can say, that this can’t be the reason.
The stack trace clearly states that the error occurs in the 404 templates and in the search form icon.
#1 /var/www/clients/xxxxxx/web00/web/wp-content/themes/enfold/includes/error404.php(17): get_search_form() #5 /var/www/clients/xxxxxx/web00/web/wp-content/themes/enfold/404.php(32): get_template_part(‘includes/error4…’) #6 /var/www/clients/xxxxxx/web00/web/wp-content/plugins/wp-cerber/cerber-load.php(3632): include(‘/var/www/client…’) #7 /var/www/clients/xxxxxx/web00/web/wp-content/plugins/wp-cerber/cerber-load.php(1900): cerber_404_page()
Please disable the plugin temporarily, wait for the error notification and then post the info here.
Best regards,
IsmaelOctober 9, 2019 at 11:47 pm #1146686Hi,
UPDATE: Can you set a 404 page in the cerber panel? If we are not mistaken, this line checks if the plugin’s 404 page exists or not.
if ( 0 == crb_get_settings( 'page404' ) ) {
Setting a 404 page might help prevent the issue.
Best regards,
IsmaelOctober 11, 2019 at 3:37 pm #1147143Hi Ismael,
I have no idea what to do with the code above! In Cerber you can only define if you want to use your themes 404 page or “display a simple 404 page”. Of course I want to use my themes 404 page. See screenshot.
Best regards
JulianOctober 14, 2019 at 7:27 am #1147737Hi,
Thanks for the update.
You don’t have to do anything about that code. We’re just showing you how the plugin checks for the 404 page.
What happens when you use the simple 404 page, or when it is disabled? The error occurs because the plugin loads the 404 template when the theme is not fully initiated, yet. This happens when someone access a page that doesn’t exists leading to a 404 page, which then triggers the cerber 404 function listed in the stack trace.
Best regards,
IsmaelOctober 14, 2019 at 1:19 pm #1147833Hi,
when I choose the simple 404 template it does exactly this and shows a non themed 404 page which is not an option for our clients. There is no option in the Cerber PlugIn to completely deactivate this function. As WP Cerber is one of the most popular WP plugins in general wouldn’t it make sense that the Enfold dev team contacts the Cerber team directly? I’m sure I’m not the only one with this problem.Best regards, Julian
October 16, 2019 at 2:52 am #1148255Hi,
We installed the plugin on our server, and set the 404 option accordingly but we don’t receive or see any errors. We enabled the debug mode and turned on the error logs, but there’s nothing there.
We’ll try to contact the plugin developers, but please note that we don’t provide support for third party plugins as stated on our support policy. It would be wise to contact the plugin developer yourself if you want a more speedy response.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.