• cadeauwerkplaats

    (@cadeauwerkplaats)


    WordPress version 3.81
    Polylang version 1.4.2

    I 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 194

    I 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

    https://www.ads-software.com/plugins/polylang/

Viewing 4 replies - 16 through 19 (of 19 total)
  • No I’ve put it at the end completely of the file. I’ll try to move it above.

    It seems to have resolved the issue! Thank you ??

    Hi,

    Sorry this is a bit late but I have a similar problem with my site.

    All of a sudden the languages have come off my site so I amended the wp.config.php file as you stated above, and although it did bring back the flags issue it now makes all the pages ‘Error 404 pages’.

    Any ideas?

    Thanks,

    Simon

    Just in case anybody was looking into this issue I had, I have found the solutions from another thread.

    In case anybody was interested I just needed to re-save the permalinks setting and it fixed the issue – go figure!

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Polylang sudden fatal error’ is closed to new replies.