Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] Contact 7 not rendering after shortcode added

  • Resolved estern23


    I created a form on with the plugin editor like i have done in the past. Then i added the shortcode to the page that i wanted the form to show up on and when i save and view the page live it shows this:

    [contact-form 404 “Not Found”]

    I have pasted the code that it told me to in the proper place on the page edit. I tried both visual and html modes and nothing seems to work.

    Please help.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Takayuki Miyoshi


    The [contact-form 404 "Not Found"] output means that contact form with the ID number you put in the shortcode is missing. Sometimes these problems caused by conflicts with other plugins or theme. Try deactivating all ather plugins AND switching to the default (twentyten?) theme.

    I turned all plugins off except contact 7 and changed theme to be twentyten like you suggested. Then checked the form.

    Still broken.

    I tried to create a new form and test that one. Just with the default setting that you populate on Add new and it does the same thing.

    Any other suggestions?

    Plugin Author Takayuki Miyoshi


    Where can we see the contact page?

    Plugin Author Takayuki Miyoshi


    What [contact-form …] code have you actually inserted into the post content?

    It looks like that your shortcode is wrong:
    Need to be EXACTLY what is shown at the top of the COntact Form Editor. like:

    [contact-form 2 "Form Example"]

    Yah i copied what it had in the brown box exactly. I have this working fine on many other sites.

    Then added it to my content box on the edit page. Then saved the page.

    Then viewed it live and that is what you see.

    I had to 777 the whole plugins file to view it on my plugins main screen in wp-admin. Would this have anything to do with the issue?

    DId you see the question from Takayuki Miyoshi???

    You should not need 777. Maybe you have other issues.

    Like i said i did it exactly like it had on the plugin page:
    [contact-form 1 “press”]

    Now I see that shortcode and not the 404 as if you are missing: wp_head() from the header of your theme.

    Yah that was because i was trying to figure it out so i deleted the plugin folder so it wasn’t rendering.

    Yes i do have wp_head(), wp_footer() etc. in my theme.

    I looked over the apache error_log and found this:
    PHP Warning: preg_replace() [function.preg-replace]: Compilation failed:
    this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in

    /wp-includes/shortcodes.php on line 228,

    What version of php should this plug-in be using. I am currently on 5.1.6

    This Error indicates the PCRE_UTF8 package is not installed on your server. You would need to contact your host. Its an add-on package (not part of WP) for PCRE. If you have shell access to your server you can run the command:
    pcretest -C
    It will return a Compiled to list which if it does not include UTF-8 support its not installed. You could ask your Host why its not installed as its pretty standard.
    Your version of PHP is old but not the cause of that error. Sounds like maybe your host is out of date in general.

    Yah i was looking around and found the pcretest -C and when i run it, it says that UTF-8 was there and active which is strange.

    Would still open a ticket with your host.

    So we updated php and that seemed to fix the issue.

    Seems to be rendering now. Going to look into it further to see if it is fully functioning.

    Thanks for the help

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Plugin: Contact Form 7] Contact 7 not rendering after shortcode added’ is closed to new replies.