PHP Notices
-
I’m getting PHP notices:
PHP Notice: Trying to access array offset on value of type bool in sg-cachepress/core/Helper/Helper.php line 173
The problem is that wp_parse_url() returns false on error, and that’s not checked for. It occurs for me when a request is made to https://www.mysite.com// (note the two trailing slashes). This happens quite regularly due to a badly behaved bot.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP Notices’ is closed to new replies.