somewebtec
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Reviews
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Contact Form displays error- Okay. I switched to the TwentyFourteen theme. Error still there.
- I turned deactivated all plugins except JetPack — the error was still there.
- I deactivated JetPack. And the error (with the code for the form) is still showing.
- I deleted the form from the page, updated the page, and added the contact form back. Error message is still showing.
- I even tried deleting everything before the ‘contact-form’ area — but when I updated the page, it came back.
Here’s the code it puts in the page:
<br /> <b>Warning</b>: strpos() expects parameter 1 to be string, array given in <b>/home2/psf/public_html/wp-includes/shortcodes.php</b> on line <b>193</b><br /> [contact-form][contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Website' type='url'/][contact-field label='Comment' type='textarea' required='1'/][/contact-form]And this is the code from the shortcodes.php file, beginning on line 190 and going to 202:
function do_shortcode($content) { global $shortcode_tags; if ( false === strpos( $content, '[' ) ) { return $content; } if (empty($shortcode_tags) || !is_array($shortcode_tags)) return $content; $pattern = get_shortcode_regex(); return preg_replace_callback( "/$pattern/s", 'do_shortcode_tag', $content ); }Forum: Reviews
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Contact Form displays errorThe link to the page is http://purpleskiesfarm.com/contact/
Viewing 2 replies - 1 through 2 (of 2 total)