• Can anyone help with this problem? After updating Polylang plugin, I get an error on my website’s front page:

    Notice: get_post_language was called incorrectly in /data05/virt3367/domeenid/www.wesenbergh.ee/htdocs/wp2015/wp-content/plugins/wp-polylang-translate-rewrite-slugs-master/polylang-translate-rewrite-slugs.php on line 181: the call to $polylang->model->get_post_language() has been deprecated in Polylang 1.8, use PLL()->model->post->get_language() instead. Error handler in /data05/virt3367/domeenid/www.wesenbergh.ee/htdocs/wp2015/wp-content/plugins/polylang/include/model.php on line 543

    How coul I solve it?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Had the same, I removed the plugin via FTP and then I was able to login again on my website. I reinstalled the plugin, now everything works fine.

    Thread Starter krispol

    (@krispol)

    Thanks for the answer ?? Does removing the plugin affect the translations, would I need to re-translate some things again?

    I first thought it would affect it, so I prepared for the worst. But when I deleted it and downloaded it again, everything was back to normal.

    Make sure you have a back up of all your translations just in case!

    I also got the same errors. Tried like WilmaW described but it didn’t work.
    I was using two plugins that extended polylang.
    Hyyan WooCommerce Polylang Integration and Polylang – Translate URL Rewrite Slugs, I deactivated them and now it works. You probably have some other plugin not playing nice with polylang 1.8.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HELP! Errors after update to 1.8’ is closed to new replies.