Title: [Plugin: SortTable Post] PHP Warning when using meta=
Last modified: August 20, 2016

---

# [Plugin: SortTable Post] PHP Warning when using meta=

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-sorttable-post-php-warning-when-using-meta/)
 * I put this shortcode in my page and got this warning:
    [sorttablepost type=”plant”
   meta=”price”]
 * Warning: preg_match() expects parameter 2 to be string, array given in C:\Data\
   xampplite\htdocs\testsite\wp-content\plugins\sorttable-post\sorttablepost.php
   on line 208
    Warning: preg_match() expects parameter 2 to be string, array given
   in C:\Data\xampplite\htdocs\testsite\wp-content\plugins\sorttable-post\sorttablepost.
   php on line 214 Warning: preg_match() expects parameter 2 to be string, array
   given in C:\Data\xampplite\htdocs\testsite\wp-content\plugins\sorttable-post\
   sorttablepost.php on line 217
 * It works without the meta parameter.
 * [http://wordpress.org/extend/plugins/sorttable-post/](http://wordpress.org/extend/plugins/sorttable-post/)

The topic ‘[Plugin: SortTable Post] PHP Warning when using meta=’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sorttable-post.svg)
 * [SortTable Post](https://wordpress.org/plugins/sorttable-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sorttable-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sorttable-post/)
 * [Active Topics](https://wordpress.org/support/plugin/sorttable-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sorttable-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sorttable-post/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-sorttable-post-php-warning-when-using-meta/)
 * Status: not resolved