grigorb
Forum Replies Created
-
Forum: Plugins
In reply to: [Loco Translate] Fatal error on trying to translate Theme “BlogHello @timwhitlock , it’s not just @aecorn. I’m also getting the error while trying to build a website for a client of mine.
I’m guessing a lot of others have it but aren’t reporting it. I’m used to googling so I easily found this topic but at first I just thought that the file may have gotten corrupted.Here’s the exact error. It was generated while trying to edit a translation for a plugin, not a theme. It seems a bit different than what @aecorn got:
“Fatal error: Uncaught Error: Class ‘PLUGError’ not found in /home/absolute/travel/wp-content/plugins/loco-translate/lib/compiled/gettext.php:8 Stack trace: #0 /home/absolute/travel/wp-content/plugins/loco-translate/lib/compiled/gettext.php(8): LocoPoHeaders->getCharset() #1 /home/absolute/travel/wp-content/plugins/loco-translate/lib/compiled/gettext.php(13): LocoPoHeaders::fromMsgstr(‘Project-Id-Vers…’) #2 /home/absolute/travel/wp-content/plugins/loco-translate/src/gettext/Data.php(70): LocoPoParser->parse() #3 /home/absolute/travel/wp-content/plugins/loco-translate/src/gettext/Data.php(38): Loco_gettext_Data::fromSource(‘# SOME DESCRIPT…’) #4 /home/absolute/travel/wp-content/plugins/loco-translate/src/admin/file/EditController.php(96): Loco_gettext_Data::load(Object(Loco_fs_File)) #5 /home/absolute/travel/wp-content/plugins/loco-translate/src/mvc/AdminRouter.php(246): Loco_admin_file_EditController->render() #6 /home/absolute/travel/wp-includes/class-wp-hook.php(287): Loco_mvc_AdminRouter->renderPage(”) #7 /home/abs in /home/absolute/travel/wp-content/plugins/loco-translate/lib/compiled/gettext.php on line 8″
I’m gonna give installing the dev version a shot, I hope it does the trick.