Title: PHP Notices
Last modified: June 15, 2021

---

# PHP Notices

 *  Resolved [Mark Barnes](https://wordpress.org/support/users/mark8barnes/)
 * (@mark8barnes)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/php-warnings-117/)
 * 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 [http://www.mysite.com//](http://www.mysite.com//)(
   note the two trailing slashes). This happens quite regularly due to a badly behaved
   bot.
    -  This topic was modified 4 years, 12 months ago by [Mark Barnes](https://wordpress.org/support/users/mark8barnes/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Stanimir Stoyanov](https://wordpress.org/support/users/sstoqnov/)
 * (@sstoqnov)
 * SiteGround Representative
 * [4 years, 12 months ago](https://wordpress.org/support/topic/php-warnings-117/#post-14561276)
 * Hey [@mark8barnes](https://wordpress.org/support/users/mark8barnes/)
 * The issue will be fixed in the next version.
 * Regards,
    Stanimir
 *  [Sergio Igartua](https://wordpress.org/support/users/igar2k/)
 * (@igar2k)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-warnings-117/#post-14572919)
 * I’m having a similar issue on a recently migrated site from a different host 
   into SiteGround: /sg-cachepress/core/Helper/Helper.php on line 230.
 * I also get this line under it: Insufficient permissions of the wp-content folder–
   some optimizations may not work! Please fix your site permissions.
 * Is this the same thing?
 *  Thread Starter [Mark Barnes](https://wordpress.org/support/users/mark8barnes/)
 * (@mark8barnes)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-warnings-117/#post-14573446)
 * [@igar2k](https://wordpress.org/support/users/igar2k/) – it’s not the same issue.
   You can fix permissions by following these instructions: [https://www.siteground.com/tutorials/getting-started/admin-tools-for-wordpress/#How_to_reset_the_permissions_of_your_files_and_folders](https://www.siteground.com/tutorials/getting-started/admin-tools-for-wordpress/#How_to_reset_the_permissions_of_your_files_and_folders)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Notices’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Mark Barnes](https://wordpress.org/support/users/mark8barnes/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/php-warnings-117/#post-14573446)
 * Status: resolved