Thank you for trying the plugin. It looks like the problem may originate in the translation of the phrase, Contact us on %1$sthe support forum%2$s or read %3$sthe plugin FAQ%4$s for help.
Could you tell me do you translate your site and therefore the plugin into any language? If so, please tell me which one, and I will verify the correctness of the translation in WordPress.org.
If you translate our plugin using another plugin, please check if the strings %1$s, %2$s, %3$s, %4$s are included in the translation.
If they are not there, you will need to add them as they appear in the source phrase.
Indeed we are using a very popular translation plugin such as WPML.
The translation strings seem fine. Likewise, if I put a return false in the function, my code no longer fails. You can also try containing the function with a try-catch.
I am very grateful to you in advance.
This reply was modified 6 months, 3 weeks ago by Borja Abad.
Hello rzepsen, thanks for your help, we have solved the problem.
The strange thing here is that we have never translated those strings manually or touched that configuration, which comes by default. We have also not had this problem before with WPML and use it on other websites.
There seem to be many threads from many plugins with the same problems when updating to php8.