• Resolved Picsmaker

    (@picsmaker)


    I’ve just updated to 4.4.2 and now have this error showing up. I’m using SPOT theme and really like it. Anyone seen this error? or have an idea what I can do to resolve?

    Warning: preg_match() expects parameter 2 to be string, array given in /home/content/18/7642918/html/ALTERNATIVEPAINMANAGEMENTNET/wp-includes/shortcodes.php on line 98

    this is the line of code that is in question per the error message
    if ( 0 !== preg_match( ‘@[<>&/\[\]\x00-\x20=]@’, $tag ) ) {
    /* translators: %s: shortcode name */

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Tim Nicholson

    (@timnicholson)

    I’ve definitely never seen that error message. I’ve been using WordPress v4.4.2 since its been out. I’m sure its an issue with a plugin as there is no code anything like that in my themes. I’d be happy to help you debug it, though, if you want to post back here.

    i am too getting this error can any one help me

    Warning: preg_match() expects parameter 2 to be string, array given in /home/content/n3pnexwpnas01_data01/31/3825631/html/wp-content/plugins/sucuri-scanner/sucuri.php on line 5601

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

The topic ‘Shortcode error with WP 4.4.2’ is closed to new replies.