• Resolved Laura Yeffeth

    (@clampdesign)


    Thank you for making this plugin. It works perfectly!

    Just one thing I noticed that I thought I would bring to your attention. I am getting this error when using your plugin:

    wpcf7_add_shortcode is deprecated since Contact Form 7 version 4.6! Use wpcf7_add_form_tag instead.

    It looks like “wpcf7_add_shortcode” on line 6 of form-shortcode.php just needs to be changed to “wpcf7_add_form_tag” and all works fine again. I’ve changed it in my version of your plugin but hope you can include this update on the next release.

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor damiarita

    (@damiarita)

    Hi @clampdesign

    Thank you very much for making me notice.

    I just updated the plugin (v 1.4.5) to the new functions contact form 7 released.

    Thanks again

    Please, let me know any other issue.

    Thread Starter Laura Yeffeth

    (@clampdesign)

    Wow, that was a quick response! I am getting another error now but referring to the Contact Form 7 plugin itself. Now I get this error:

    WPCF7_Shortcode is deprecated since Contact Form 7 version 4.6! Use WPCF7_FormTag instead. in plugins/contact-form-7/includes/functions.php on line 351

    I’m not sure what else you changed but when I just made that one change, I didn’t get this error. When I de-activate your plugin, I also don’t get this error. I’m not sure exactly what the issue is now, but I hope this is helpful.

    Thanks again for the plugin.

    Plugin Contributor damiarita

    (@damiarita)

    Yes,

    Sorry, I missed one reference to the old functions. I hadn’t replaced.

    I just released a new version with the correction.

    Let me know if updating fixes it.

    Please, consider a review to the plugin

    Thread Starter Laura Yeffeth

    (@clampdesign)

    Your update fixed the issue. Thanks again for quick response.

    I was happy to leave you a review!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Deprecated php error’ is closed to new replies.