• When i try to update the post i get these errors

    Warning: preg_match_all() expects parameter 2 to be string, array given in /home/$/public_html/$/wp-includes/formatting.php on line 4209

    Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/$/public_html/$/wp-includes/wp-db.php on line 1094

    Warning: Cannot modify header information – headers already sent by (output started at /home/$/public_html/$/wp-includes/formatting.php:4209) in /home/$/public_html/$/wp-admin/post.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /home/$/public_html/$/wp-includes/formatting.php:4209) in /home/$/public_html/$/wp-includes/pluggable.php on line 1196

    this is the template that is giving errors

    [Tagline]
    type = text
    size = 35
    label = (Shows up On Adventure List – Under the Adventure Title)

    [Excerpt]
    type = textarea
    rows = 4
    cols = 40
    label = (Shows up On Adventure List – Under the Adventure Tagline)

    [Blurb]
    type = textarea
    rows = 4
    cols = 40
    label = What is the blurb for this adventure? (Short description for sidebar.)

    [Tag]
    type = text
    size =35
    label = What is the tag that corresponds to the trip posts? (case sensitive)

    [Book Now Title]
    type = text
    label = What’s the corresponding “Book Now” text for this adventure?

    [Icon]
    type = file
    mediaLibrary = true
    label = Icon image
    blank = false

    i did some debugging and i saw the blurb is being send as an array, not as string but for now i’m not sure on how to fix the issue

    https://wordpress.org/plugins/custom-field-template/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error on updating post’ is closed to new replies.