title: Warning: array_filter() expects parameter 1 to be array
body: <p>Hi I have encountered an issue on my website. The following PHP code snippet appears on my front end website displayed behind my layers. I am not a coder but can make changes to the php if necessary. Please can anyone assist?</p>
  
  <p>Warning message:</p>
  
  <blockquote>
    <p>Warning: array_filter() expects parameter 1 to be array, boolean given
    /home/gordonfrasier/public_html/wp-content/plugins/divi-overlays/divi-overlays.php
    on line 2617</p>
  </blockquote>
  
  <p>The code:
  }</p>
  
  <pre><code>            if ( $display_in_posts == 'all' ) {
  
                  $display_in_current = true;
  **Line 2617 -------------&gt;** $except_in_posts = array_filter( get_post_meta( $overlay_id, 'do_at_pagesexception_selected' ) );
  
                  if ( isset ( $except_in_posts[0] ) ) {
  
                      foreach( $except_in_posts[0] as $in_post =&gt; $the_id ) {
  
                          if ( $the_id == $current_post_id ) {
  
                              $display_in_current = false;
  
                              break;
                          }
                      }
                  }
              }
  </code></pre>