title: PHP message: PHP Warning: strpos() expects parameter 1 to be string,
body: <p>Wordpress Site</p>
  
  <p>Warning:</p>
  
  <pre><code>AH01071: Got error 'PHP message: PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/vhosts/mysite.com/httpdocs/wp-includes/functions.php on line 4102\nPHP message: PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/vhosts/mysite.com/httpdocs/wp-includes/functions.php on line 4102\nPHP message: PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/vhosts/mysite.com/httpdocs/wp-includes/functions.php on line 4102\nPHP message: PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/vhosts/mysite.com/httpdocs/wp-includes/functions.php on line 4102\n', referer: mysite
  </code></pre>
  
  <p>Here is line 4101 - 4103 of functions.php</p>
  
  <pre><code>function validate_file( $file, $allowed_files = '' ) {
      if ( false !== strpos( $file, '..' ) )
          return 1;
  </code></pre>