CRITICAL Uncaught ArgumentCountError
-
Hi There!
We are using
Contact Form 7 version 5.2.1
Contact Form 7 Extension For Mailchimp 0.5.20.
WooCommerce 4.3.3
WordPress 5.4.2If someone want to subscribe to our newsletter at https://www.hello-world.net/newsletter/. Give in his data and click the subscribe button. nothing will happen since 5 days.
Instead it will generate an entry in the errorlog from our WooCommerce plugin at status/logdata as you can see an example here:
==============
2020-08-18T05:52:38+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function wpcf7_special_mail_tag(), 3 passed in /kunden/469469_76275/webseiten/hello-world.net/wordpress/wp-includes/class-wp-hook.php on line 287 and exactly 4 expected in /kunden/469469_76275/webseiten/hello-world.net/wordpress/wp-content/plugins/contact-form-7/includes/special-mail-tags.php:9
Stack trace:
#0 /kunden/469469_76275/webseiten/hello-world.net/wordpress/wp-includes/class-wp-hook.php(287): wpcf7_special_mail_tag(”, ‘opt-in’, ”)
#1 /kunden/469469_76275/webseiten/hello-world.net/wordpress/wp-includes/plugin.php(206): WP_Hook->apply_filters(”, Array)
#2 /kunden/469469_76275/webseiten/hello-world.net/wordpress/wp-content/plugins/contact-form-7-mailchimp-extension/lib/handler.php(162): apply_filters(‘wpcf7_special_m…’, ”, ‘opt-in’, ”)
#3 /kunden/469469_76275/webseiten/hello-world.net/wordpress/wp-content/plugins/contact-form-7-mailchimp-extension/lib/handler.php(234): cf7_mch_tag_replace(‘/\\[\\s*([a-zA-Z_…’, ‘[opt-in]’, Array)
#4 /kunden/46946 in /kunden/469469_76275/webseiten/hello-world.net/wordpress/wp-content/plugins/contact-form-7/includes/special-mail-tags.php in Zeile 9
==============and in the GoogleDevTool Console
======================
jquery.js?ver=1.12.4-wp:4 POST https://www.hello-world.net/wp-json/contact-form-7/v1/contact-forms/17605/feedback 500
send @ jquery.js?ver=1.12.4-wp:4
ajax @ jquery.js?ver=1.12.4-wp:4
wpcf7.submit @ scripts.js?ver=5.2.1:295
(anonymous) @ scripts.js?ver=5.2.1:58
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3
jquery.js?ver=1.12.4-wp:4 XHR failed loading: POST “https://www.hello-world.net/wp-json/contact-form-7/v1/contact-forms/17605/feedback”.
send @ jquery.js?ver=1.12.4-wp:4
ajax @ jquery.js?ver=1.12.4-wp:4
wpcf7.submit @ scripts.js?ver=5.2.1:295
(anonymous) @ scripts.js?ver=5.2.1:58
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3
====================we did not know what to do to fix this!
thnx for helping & best regards
NicoThe page I need help with: [log in to see the link]
- The topic ‘CRITICAL Uncaught ArgumentCountError’ is closed to new replies.