• Resolved klosyp33

    (@klosyp33)


    Hi,

    After updating to the latest version of WordPress (4.6), my website loads with errors.
    The error message I get is:
    Fatal error: Call to undefined function pll_the_languages()

    How can I fix this? This is cause by the following code in my header.php file :
    <div style=”float:right;”><ul class=”custom_langs_change”><?php pll_the_languages(array(‘show_flags’=>1,’show_names’=>0));?></div>

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    I am using jupiter theme with wordpress and for some reason even after doing all the minification and optimisation with wp rocket my web site is still slow and i can’t figure out why … can some one plz help ?

    thank you in advance.

    url : https://www.naturalhorsecaresolution.com/

    The same for me with 500 – Internal server error message…
    Thanks for your help !

    Hi,

    I’m also having some weird problems after I updated to WP4.6.
    I don’t get any problems with my codes, neither get the 500 message, but all new post and pages I publish lost instantaneously the connection between them.
    For example, one of the sites I manage, I have 5 languages and even after selecting the new language I would like to fill in by using the Polylang “+” button, after I publish this new post/page “something” break the connection and shows me as I have published a completely new and isolated post/pega without any connection with the previous one.
    Can you help me with that? What should I do to solve and repair these connections?
    Thanks.

    Plugin Author Chouby

    (@chouby)

    Hi!

    @klosyp33, that’s nothing related to the WP 4.6 update but to your custom code. If you use a plugin function without checking that it exists, you will always get such fatal error at plugin update. See the important note on top at https://polylang.pro/doc/function-reference/

    To the others, as per forum rules, start your won topic.

    Hello !
    Thanks for the new update of the plugin !
    Everything is OK with Divi now…
    Regards
    Chris

    Thread Starter klosyp33

    (@klosyp33)

    Hi,

    Thanks for your reply. It seems the problem was temporary, the error was gone by itself after a couple of hours. Not sure if it had to do with WordPress cache but works fine now, thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘polylang error after updating to wordpress 4.6’ is closed to new replies.