• Resolved BrainTriggers

    (@braintriggers)


    I’m tearing my hair out here… specs:
    WP 3.9 / Graphene 1.9.2
    https://www.greatfallsmodelrrclub.org

    Exact error as it appears:
    Warning: preg_split() expects parameter 2 to be string, array given in /homepages/38/d92370548/htdocs/greatfallsmodelrrclub.org/wp-includes/formatting.php on line 155

    Warning: Invalid argument supplied for foreach() in /homepages/38/d92370548/htdocs/greatfallsmodelrrclub.org/wp-includes/formatting.php on line 157

    Warning: implode() [function.implode]: Invalid arguments passed in /homepages/38/d92370548/htdocs/greatfallsmodelrrclub.org/wp-includes/formatting.php on line 186

    Steps to resolve:
    Disabled all plugins – No effect
    Changed theme to 2014 (with and without plugins active) – No effect
    Uploaded fresh copy of /wp-includes folder – No effect

    Forum and internet searches turn up nothing… Any clue where to go from here?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try re-uploading all files & folders – except the root wp-config.php & .htaccess files and the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Paul

    (@paultgoodchild)

    This is in the wptexturize() function and it looks like a piece of dodgy text is being passed to that function.

    In fact, your error is that it’s an array() instead of a string. The theme here is showing the error in what appears to be a “description” field.

    Go and look at the tag line of your site and ensure there is a proper string in there for the site description.

    Thread Starter BrainTriggers

    (@braintriggers)

    Well now I fell like a complete idiot and utter n00b… the description line in the General Settings had the text “Array” as the description. Removed the text and voila! Huge thanks to Paul G.!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: preg_split() error in formatting.php’ is closed to new replies.