• Resolved okrawi

    (@okrawi)


    Hello Andreas,

    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!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter okrawi

    (@okrawi)

    I’m getting this error in the console when I submit. Like I said, the form is successfully sent, but the site is stuck at loading.

    {code: ‘invalid_json’, message: ‘The response is not a valid JSON response.’}

    Note: I’m using reCaptcha v3, and I tried disabling it and it didn’t resolve the problem.

    Plugin Author Andreas Münch

    (@andreasmuench)

    Hi @okrawi ,

    did you make any updates? What changed compared to before when it worked?

    Can you send a link to your website so I can check the error?

    Thanks

    Thread Starter okrawi

    (@okrawi)

    Hi @andreasmuench ,

    Thank you for the fast reply.

    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.

    Am I the only one facing this issue?

    Plugin Author Andreas Münch

    (@andreasmuench)

    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.

    Thread Starter okrawi

    (@okrawi)

    I have activated the plugin, please test it on the link I sent and let me know.

    Plugin Author Andreas Münch

    (@andreasmuench)

    Hi @okrawi ,

    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.

    Thread Starter okrawi

    (@okrawi)

    Hi @andreasmuench,

    Many thanks for your support. Can you tell me how to achieve that or link me to an article that explains it?

    Plugin Author Andreas Münch

    (@andreasmuench)

    Thread Starter okrawi

    (@okrawi)

    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.

    Do you have another suggestion please?

    Plugin Author Andreas Münch

    (@andreasmuench)

    Sorry, this is a free plugin and nobody pays me for my work here. I cannot solve your individual website′s issues in my free time.

    Thread Starter okrawi

    (@okrawi)

    Thank you for your support anyways.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.