Polylang sudden fatal error
-
WordPress version 3.81
Polylang version 1.4.2I work for it for months already and it’s a fantastic and good working plugin.
However, suddenly out of the blue I am confronted with a fatal error which makes it impossible to open frontend and backend of my WordPress site.
I know a bit of php, but not enough to solve this without clear instructions what to do and where to do it.
So, I hope somebody can help me rather fast.Fatal error message is:
Fatal error: PLL_Model::_languages_list(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "PLL_Language" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/content/p3nexnas03/94/2061094/html/wp-content/plugins/polylang/include/model.php on line 194I opened the php file in Dreamweaver and line 194 tells me:
$language->set_flag();It seems the flags are not loaded, perhaps? However, till now everything functioned fine, no problem at all. But I changed the host. I’m at GoDaddy now, but there it showed up correct too for a few weeks and suddenly not anymore.
I don’t know how to ad an autoload function and where to ad that.
I don’t know either if that would solve all the problems.I hope somebody can help me,
Thanks
- The topic ‘Polylang sudden fatal error’ is closed to new replies.