• Resolved kacper81

    (@kacper81)


    hello,

    after activated the plugin, my form sending not work (all forms on the site are down).
    When I press a send button, the circle is spinning and doesn’t send the form.

    please for help
    Piter

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    link?

    Thread Starter kacper81

    (@kacper81)

    link here: https://nowotworskory.pl/teleporada/

    but now plugin (Conditional Fields) is disabled.

    Plugin Author Jules Colle

    (@jules-colle)

    I would need to see the problem in action before i can help you i’m afraid

    Thread Starter kacper81

    (@kacper81)

    ok I turned on the plugin – You can try send anything ??

    Plugin Author Jules Colle

    (@jules-colle)

    There’s an error after form-submission. The error occurs server side, meaning it’s a PHP error. You can check your server logs for the latest erros to get a hint about what exactly is going on. Could you also disable the conditional fields plugin now? So I can verify that everything works without Conditional fields activated?

    Here’s a troubleshooting guide that might help you: https://conditional-fields-cf7.bdwm.be/docs/troubleshooting/does-not-work-with-a-third-party-theme-or-plugin/

    Thread Starter kacper81

    (@kacper81)

    thanks for the answer ??
    ok I turned off the plugin.

    best regars

    Plugin Author Jules Colle

    (@jules-colle)

    OK, thanks. So it’s clearly related to Conditional Fields.

    Could do the following for me?

    1. Check if you can access your server error logs
    2. Enable Conditional fields plugin again
    3. Fill out the form again, until the arrow keeps spinning.
    4. Download your server error logs

    Check the error logs. They will look something like this:
    [Thu Oct 29 14:41:26.699886 2020] [error] [pid 124824] mod_proxy_fcgi.c(860): [client xxx.xx.x.xx:8035] AH01071: Got error 'PHP message: PHP Warning: Illegal string offset 'opleidingsjaar' in /data/sites/web/derp/www/wp-content/themes/gavs-theme/aanmelding.php ...

    Send me the last Log containing a PHP Warning that is inside the file. The time should match the time you tried submitting the form. So in the example above, the error occured at 14:41 on October 29th.

    Make sure to remove any sensitive information like IP addresses and full paths, as they might be used by hackers to attack your website. I’m mostly interested in the date part and the part starting with PHP Warning. So instead of sending me the entire line above, you could send me this:

    [Thu Oct 29 14:41:26.699886 2020] PHP message: PHP Warning: Illegal string offset 'opleidingsjaar' in /path-to-site/wp-content/themes/gavs-theme/aanmelding.php

    (Note I also replaced my actual path /data/sites/web/derp/www/ with path-to-site)

    • This reply was modified 4 years, 4 months ago by Jules Colle.
    Thread Starter kacper81

    (@kacper81)

    maybe these logs will help:

    [Thu Oct 29 17:20:17.476431 2020] [proxy_fcgi:error] [pid 61022:tid 139933563594496] [client 188.252.44.27:26124] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function CF7CF::hide_hidden_mail_fields(), 1 passed in /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected in /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-content/plugins/cf7-conditional-fields/cf7cf.php:239\nStack trace:\n#0 /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-includes/class-wp-hook.php(286): CF7CF->hide_hidden_mail_fields(Object(WPCF7_ContactForm))\n#1 /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#2 /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#3 /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-content/plugins/contact-form-7/includes/submission.php(288): do_action(‘wpcf7_before_se…’, Object(WPCF7_ContactForm))\n#4 /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-content/plugins/contact-form-7/includes/submission.php(167): WPCF7_Submission->mail()\n#5 /var/www/vh…\n’, referer: https://nowotworskory.pl/teleporada/

    Plugin Author Jules Colle

    (@jules-colle)

    Thanks, very useful. Could you also try to disable all plugins except cf7 and conditional fields. Let me know if the error also occurs with only these 2 plugins enabled.

    Thread Starter kacper81

    (@kacper81)

    I disabled all plugins except cf7 and conditional fields and still the same:

    [Thu Oct 29 17:51:47.129723 2020] [proxy_fcgi:error] [pid 24342:tid 139933832161024] [client 188.252.44.27:22364] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function CF7CF::hide_hidden_mail_fields(), 1 passed in /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected in /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-content/plugins/cf7-conditional-fields/cf7cf.php:239\nStack trace:\n#0 /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-includes/class-wp-hook.php(286): CF7CF->hide_hidden_mail_fields(Object(WPCF7_ContactForm))\n#1 /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#2 /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#3 /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-content/plugins/contact-form-7/includes/submission.php(288): do_action(‘wpcf7_before_se…’, Object(WPCF7_ContactForm))\n#4 /var/www/vhosts/sanitas.3net.pl/httpdocs/wp-content/plugins/contact-form-7/includes/submission.php(167): WPCF7_Submission->mail()\n#5 /var/www/vh…\n’, referer: https://nowotworskory.pl/teleporada/

    Plugin Author Jules Colle

    (@jules-colle)

    Thanks, could you also switch to a default theme (twenty-..), and see if that changes anything?

    Thread Starter kacper81

    (@kacper81)

    I won’t miss any page settings – is this safe?? the setting will not reset ???

    Thread Starter kacper81

    (@kacper81)

    maybe upgrade the word press to ver. 5.5.1??
    or upgrade my theme ??

    Plugin Author Jules Colle

    (@jules-colle)

    You should be fine. But, if you want to be sure create a dump of your database from PHPMyadmin and instead of switching back to your original theme restore the backup instead. That way you are 100% sure nothing will change

    Plugin Author Jules Colle

    (@jules-colle)

    Oh of course, I assumed all your plugins themes and wp were up to date. Yeah, do that first ?? (create a backup first though)

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘sending to e-mail not work from form’ is closed to new replies.