WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WordPress Wiki] Warning: preg_match_all() expects parameter 2 to be string (2 posts)

  1. SAFFLEUR
    Member
    Posted 4 years ago #

    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

  2. John Luetke
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic