Fatal Error
-
Hello,
For some days (weeks ?), i have had a problem : the FRENCH translation of Woocommerce was stuck at around 77%, while it should be at 99-100%. So I suspected an error in the plugin somewhere…
Yesterday, i have received an error from my admin mailbox : Une erreur de type E_ERROR a été causée dans la ligne 203 du fichier (…)www/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php. Message d’erreur : Uncaught Error: Class “Loco_fs_File” not found in (…)www/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php:203
I thought maybe the plugin was corrupted or something. So i deleted the plugin, and then re-installed it.
But as soon as i have reinstalled it, i get a fatal error on my website.
So i deleted the plugin from my FTP. And then, my website was OK again. But :
- when going back to the plugins page (on my back-end), i got the message : “L’extension loco-translate/loco.php a été désactivée en raison d’une erreur : Le fichier de l’extension n’existe pas.”
- The error logs of my site tells me : 2025-04-16T19:10:46+00:00Critique Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “wp_print_speculation_rules” not found or invalid function name in (…)www/wp-includes/class-wp-hook.php:324 etc…
I have tried to re-install, but the same problem occured, so i re-deleted the plugin via FTP.
What’s wrong … ? Can you help debug please ?
Thanks
The topic ‘Fatal Error’ is closed to new replies.