title: WordPress in_array() expects parameter 2 to be array, string given
body: <p>I've just checked through my logs and I see a massive error related to</p>
  <p><strong>in_array() expects parameter 2 to be array, string given</strong> in /var/www/live/wp-content/plugins/tours/templates/single-custom-post/tour-style.php on line 55</p>
  <p>Here the code in question:</p>
  <pre><code>    $my_articles = array();
      foreach($articles as $article) {
          $article_tour_styles = get_post_meta($article-&gt;ID, 'show_on_tour_styles', true);
          if(in_array($postid, $article_tour_styles)) {
              $my_articles[] = $article;
          }
      }
  </code></pre>
  <p>What would I need to change here in order to have this fix and sorted? Some expert help would be greatly appreciated, thank you.</p>