26 November 2013 at 17:04 #1479
Using a custom theme with CF7 and others on <site>, installing Math Captcha, configuring… settings page:
Warning: call_user_func() [function.call-user-func]: First argument is expected to be a valid callback in /var/www/vhosts/<site>/httpdocs/wp-admin/includes/template.php on line 1102
De-/Activating Math Captcha (as seen in support forum): No change.
Inserting CF7 Shortcode in a form, the page with the form shows:
Fatal error: Class ‘WPCF7_Shortcode’ not found in /var/www/vhosts/<sitename>/httpdocs/wp-content/plugins/wp-math-captcha/includes/math-captcha-cf7.php on line 20
“Class not found” let me think, Math Captcha does NOT support CF7 ;-)28 November 2013 at 09:34 #1493
That class exists in CF7, and this error says it is not available (as if CF7 was not activated). But I think of other issues – are you using MC on multisite install? Are you using the most recent version of our plugin?28 November 2013 at 15:47 #1507
WordPress 3.3.3 DE “single site” with Contact Form 7 3.2, Contact Form 7 – Dynamic Text Extension 220.127.116.11, Math Captcha 1.0.9 (all activated) and some other plugins5 December 2013 at 16:07 #1551
Hi, one week later, I´d like to ask if support is possible or if I just have to be a bit patient.
Another idea: Maybe the custom theme could have a lack which results in symptoms mentioned above?
Regards Erik6 December 2013 at 10:23 #1556
Erik, first please post a link to the site where the issue occurs.
Second, did you try deactivating CF7 Dynamic Text Extension? Did it make any difference?9 December 2013 at 15:02 #1562
I didn´t get a mail notifying me of your reply…(!?)
The test page http://www.wollny-personal.de/cf7_mc_test/
with a copy of the CF7 form plus “[mathcaptcha mathcaptcha-<a_random_ID>]” shows
Fatal error: Class ‘WPCF7_Shortcode’ not found in /var/www/vhosts/wollny-personal.de/httpdocs/wp-content/plugins/wp-math-captcha/includes/math-captcha-cf7.php on line 20
– with or without activation of CF7 Dynamic Text Extension.
In line 20 mentioned above we find
$tag = new WPCF7_Shortcode($tag);
Sure you´ve registered the function? I didn´t find it.
CF7 only brings the class WPCF7_ShortcodeManager instead.
Erik9 December 2013 at 17:17 #1563
There is WPCF7_Shortcode in CF7, but I think I have an idea on where the problem is. We’re working on a major update of Math Captcha, but maybe before we finish it, we’ll push a quick bugfix update for this and other issues (this week hopefully).8 January 2014 at 14:39 #1732
One month later, I´d like to kindly ask if this bug will be fixed soon in v1.1.0. Regards14 January 2014 at 22:49 #1776
Erik, try the just released 18.104.22.168 January 2014 at 16:21 #1831
still problems, probably the same:
Warning: call_user_func() [function.call-user-func]: First argument is expected to be a valid callback in /var/www/vhosts/wollny-personal.de/httpdocs/wp-admin/includes/template.php on line 1102
on output page with cf7 form:
Fatal error: Class ‘WPCF7_Shortcode’ not found in /var/www/vhosts/wollny-personal.de/httpdocs/wp-content/plugins/wp-math-captcha/includes/math-captcha-cf7.php on line 2023 January 2014 at 13:31 #1845
What are your WordPress, Math Captcha and CF7 versions?15 February 2015 at 20:45 #6002
Hi guys to get the math Captcha to show up on Contact7 Form Do the following with WordPress 4.1
Go to Contact form
Click on the contact form name you want to change
Part way down the page you will see form code on right hand side and on the left will be generate Tag.
Click on generate tag and select Math Captcha and paste code on left side
Don’t forget to save …..
- You must be logged in to reply to this topic.
Google analytics cookies reject , allow and reject
1 day, 11 hours ago
Cheatin Uh? Cant add watermark!
1 day, 14 hours ago
Light box using mediaelements
5 days, 1 hour ago
Lightbox for images with Divi theme
5 days, 3 hours ago
6 days, 16 hours ago
Cerber custom login URL
1 week ago
Can’t create topic on forum
1 week ago
Lightbox has stopped working
2 hours, 21 minutes ago
1 week ago
Is this plugin still supported?
by Jason Rampe
1 week, 1 day ago