• File: /wp-content/plugins/wp-super-cache/wp-cache-base.php on line 20.
    Error: PHP Warning: strpos(): Offset not contained in string in /var/www/vhosts/jcsuurmond.nl/httpdocs/wp-content/plugins/wp-super-cache/wp-cache-base.php on line 20

    Solution: Add an extra check to the if statement. So instead of if ( strpos( $request_uri, '/', 1 ) ) {} this should be used if ( $request_uri && strpos( $request_uri, '/', 1 ) ) {}

    • This topic was modified 6 years, 3 months ago by basvandijkk. Reason: adding tags
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add check before strpos’ is closed to new replies.