• Resolved stephan22

    (@stephan22)


    Hello,

    I created a WordPress site using the Polylang extension in my development environment. It works fine. When I try setting it up on my production server, I get the following message:

    Fatal error: Class ‘PLL_OLT_Manager’ not found in /home/usteph01/public_html/tagtom.com/wp-content/plugins/polylang/polylang.php on line 95

    Any idea what’s going on? I use Polylang version 1.6.3.

    Thanks in advance for your help.

    Stephan

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chouby

    (@chouby)

    Hi!

    Please re-install the plugin just in case.
    If it does not fix the issue, look in your phpinfo and:
    * check your php version (should be 5.2.4 or higher as requested by WP itself)
    * check if the SPL php extension is present (that would be the first time a user reports that this extension is not available but who knows ?)

    Thread Starter stephan22

    (@stephan22)

    Hello Chouby,

    Thanks for your quick reply. I checked my PHP version : it’s 5.5.10, so it shouldn’t be a problem.

    Where should the SPL php extension be? I searched it and found that the webhost needs to activate/install it. But should it (also) be in my WP code? Sorry if the question is silly, I’m a PHP newbie.

    Also: I’m a bit wary of reinstalling Polylang, because I get a warning that “related data will also be deleted”. I don’t want to lose all my translations…

    Best,

    Stephan

    Thread Starter stephan22

    (@stephan22)

    Hello again Chouby,

    I have been able to determine that in fact my PHP version is 5.3.29, so still not a problem.

    My webhost as also indicated that the SPL is enabled: see tagtom.com/info.php for all the info about PHP. Does the specific PLL_OLT_Manager Class have to be enabled/installed?

    Not sure if it will help, but I also found this link about a problem encountered with Polylang and the PLL_OLT_Manager Class:
    https://github.com/cemc/cscircles-wp-content/blob/master/plugins/polylang/include/olt-manager.php

    Thanks in advance,

    Stephan

    Thread Starter stephan22

    (@stephan22)

    Hi again Chouby,

    Good news, I figured out the problem. I decided to check to see if the PLL_OLT_Manager Class was actually in the includes directory of my Polylang code. And guess what… it wasn’t. If fact, several Polylang directories were missing, as well as directories in other plugins. I’m not sure why, but when I uploaded my WordPress site to my web host, some directories were skipped over by my FTP client (Filezilla). This is the first time I’ve ever experienced this phenomenon.

    In any case, I want to thank you for your message and for your plug-in.

    Best,
    Stephan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error : Class 'PLL_OLT_Manager' in polylang plugin.’ is closed to new replies.