Many thanks for the amazing work on this plugin. Until recently, it has been working flawlessly. Now when the user presses send, the form is sent in the background, but the plugin causes the form to show that it is loading and it never shows the sent notification.
I’m using 6.6.2 version of WordPress with PHP version 8.2. I have Polylang 3.6.5, although I tried downgrading to 3.6.4 and 3.6.3 and it still didn’t work. I also tried disabling all of my other plugins until I confirmed that this was the one that was causing this issue.
Let me know what other information you need to know to help me fix this. Thanks!
We hadn’t changed anything in the site when this happened. About two weeks ago we switched our hosting to Hostinger, and it was working then. Then it stopped working sometime during last week. That’s the only recent change that we did. I had automatic updates on, so I’m not sure if something had updated. I’ve turned it off for all plugins.
The site is https://europe-seller.com/en/home/ I had to fix the issue quickly so I created one form for each language as a temporary fix. I can’t activate the plugin because it bricks the form and we need it open.
I just checked on my Testsite. I made all available updates and all forms worked as expected. It may have something to do with some other plugin you are using.
Sorry, but without being able to investigate the issue I cannot say more.
polylang produces this warning message on your server: Deprecated: Creation of dynamic property PLL_Language::$filter is deprecated in /home/u554034172/domains/europe-seller.com/public_html/wp-content/plugins/polylang/include/language.php on line 297
Actually this is only a deprecation warning, but because it is output in the response the JSON is invalid.
You should configure your server so it doesn´t output this warning with the JSON response of CF7.
Hey, if the problem is with Polylang, why is no one else facing this issue? And why did it start now? And why does it go away when I disable this plugin?
I tried editing the wp-config.php and added
define( 'WP_DEBUG_DISPLAY', false );
But it had no effect! I had to go into the Polylang plugin and edit the code inside to fix it by adding
[\AllowDynamicProperties]
Above the class declaration of the /polylang/include/language.php file. This is not an ideal fix as plugins are constantly updated and the code might be lost or forgotten.