Here’s what seems to have worked for me:
I installed the “String Locator” WP plugin and did a search for the word “shortcode” in all my plugins. I found out that the plugin that needed fixing for me was Bootstrap for Contact Form 7.
Using my FTP client, I opened all the files of the plugin that needed fixing (i.e. those files where I needed to replace wpcf7_add_shortcode() with wpcf7_add_form_tag() and etc.) with Notepad++. I then used Notepad++’s Replace All in All Opened Documents (Ctrl+H on your keyboard) to replace all the deprecated stuff.
I then saved and reuploaded the edited files using my FTP client.
Hope this helps.
The reason for this issue is the mailchimp plugin for wordpress. But it’s not the best way to edit mailchimp plugin files.
Do I have to wait for an update from Mailchimp plugin?
I can confirm that this error is caused by “MailChimp for WordPress” plugin. Still no update, regardless on issue created on MCfW Github …
Hope they’ll fix it soon
I don’t have “Mailchimp for WordPress” installed and also having the same issue.
I’m not using mailchimp either and having this issue. I believe this is the culprit to my admin top bar disappearing from the site when I am viewing pages/posts. Any help would be appreciated. Thanks!
You can use String locator ( https://ww.wp.xz.cn/plugins/string-locator/ ) as @comwhiz to find plugin which invokes wpcf7_add_shortcode.
@time4novelty @agermanucf You can try to find text wpcf7_add_shortcode and send to us which plugins are reason for notices.
I’m having this same issue. and with the string locator, I’m not getting any results in a search. I don’t have the mail chimp or honeypot plugin.
In my case, after deactivating the mailchimp plugin, the error is gone. Because, the mailchimp plugin have contact form 7 integrations with the deprecated „wpcf7_add_shortcode“.
May in your case, you have other plugins or own php functions with contact form 7 integrations?
I just found new plugins:
WordPress ReCaptcha Integration https://ww.wp.xz.cn/plugins/wp-recaptcha-integration/
Contact Form 7 Newsletter https://ww.wp.xz.cn/plugins/contact-form-7-newsletter/
Mailpoet – Contact Form 7 Integration https://ww.wp.xz.cn/plugins/mailpoet-contact-form-7/
Probably all CF7 extensions & captcha plugins.
-
This reply was modified 9 years, 5 months ago by
Saša.
Update for Mailchimp for wordpress just released (version 4.0.10). More info at https://ww.wp.xz.cn/support/topic/mailchimp-issue-with-contact-form-7/
Im only using the contact form 7 with Flamingo and get the same error, any one had found a solution?
If I disable the contact form 7 plugin the warning is gone.
-
This reply was modified 9 years, 5 months ago by
hecerv.
Hi @takayukister
You can improve your function wpcf7_deprecated_function by adding wp_debug_backtrace_summary() (or PHP function debug_backtrace) there. It’s simple function which will help us to we easier find origin of deprecated_function.
https://developer.ww.wp.xz.cn/reference/functions/wp_debug_backtrace_summary/
It’s only couple lines of the code.