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

    (@chouby)

    Hello,

    It was a long time ago. If you have an error with PHP 8.1, please open a GitHub issue.

    Thread Starter eddie

    (@ediet)

    I had a problem with declaring my translation string in functions.php:
    “Uncaught Error: Call to undefined function pll_register_string()” in functions.php

    Plugin Author Chouby

    (@chouby)

    For sure, it’s not related to your version of PHP.

    When using any function added by a plugin, you must first check that the function exists. Otherwise you’ll experience such issue. For example, each time the plugin is updated (because WP deactivates the plugin during the update).

    Additionnally, Polylang functions are defined only when at least one language has been created.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP 8.1’ is closed to new replies.