sending to e-mail not work from form
-
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
-
link?
link here: https://nowotworskory.pl/teleporada/
but now plugin (Conditional Fields) is disabled.
I would need to see the problem in action before i can help you i’m afraid
ok I turned on the plugin – You can try send anything ??
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/
thanks for the answer ??
ok I turned off the plugin.best regars
OK, thanks. So it’s clearly related to Conditional Fields.
Could do the following for me?
- Check if you can access your server error logs
- Enable Conditional fields plugin again
- Fill out the form again, until the arrow keeps spinning.
- 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/
withpath-to-site
)-
This reply was modified 4 years, 4 months ago by
Jules Colle.
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/
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.
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/
Thanks, could you also switch to a default theme (twenty-..), and see if that changes anything?
I won’t miss any page settings – is this safe?? the setting will not reset ???
maybe upgrade the word press to ver. 5.5.1??
or upgrade my theme ??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
Oh of course, I assumed all your plugins themes and wp were up to date. Yeah, do that first ?? (create a backup first though)
- The topic ‘sending to e-mail not work from form’ is closed to new replies.