Support » Plugins and Hacks » [Plugin: WordPress Wiki] Warning: preg_match_all() expects parameter 2 to be string

  • Hello,

    I am getting these errors after adding both <h2> and <h3> tags to wiki pages. Obviously this is a problem since those markups are used for making the TOC. Any help?

    Warning: preg_match_all() expects parameter 2 to be string, array given in /usr/home/threemoo/public_html/wiki/wp-content/plugins/wordpress-wiki/wordpress-wiki.php on line 394

    Warning: preg_match_all() expects parameter 2 to be string, array given in /usr/home/threemoo/public_html/wiki/wp-content/plugins/wordpress-wiki/wordpress-wiki.php on line 394

Viewing 1 replies (of 1 total)
  • I don’t know what’s causing it, (not the plugin developer) but you can suppress the errors by adding a @ at the beginning of the preg_match on line 394.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress Wiki] Warning: preg_match_all() expects parameter 2 to be string’ is closed to new replies.