Support » Plugin: Polylang » String translations disappeared with php 8.0

  • Resolved rom1our

    (@rom1our)


    Hello,
    some string translations are no more active with php 8.0. Setting to php 7.4, they are back again.

    The strings of the following plugins disappeared on the site and in the drop down menu:
    Advanced Ads
    GP Premium
    Lucky WP table of contents
    SEO by Rankmath
    WP last modified info

    The page I need help with: [log in to see the link]

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

    (@chouby)

    Hello,

    The strings translations feature is tested (with phpunit tests) against PHP versions from 5.6 to 8.0. Anyway, we manually tested (only Rankmath) with PHP 8.0.3 and the strings translations of this plugin are present in the list table, as expected. So your issue doesn’t come from the PHP version but probably from elsewhere.

    I did not check for other plugins, but for Rankmath, strings are configured in an xml file read by Polylang. I would not be surprised that your issue comes from a missing simplexml library in your PHP 8 setup. This should be reported as a warning by WP in your site health.

    Thread Starter rom1our

    (@rom1our)

    Perfect. I enabled simplexml and it works.
    Thank you 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘String translations disappeared with php 8.0’ is closed to new replies.