Title: SG Errors
Last modified: February 2, 2021

---

# SG Errors

 *  Resolved [dgalauran](https://wordpress.org/support/users/dgalauran/)
 * (@dgalauran)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/sg-errors/)
 * I am getting these errors from the WordPress Automated Error
 * When seeking help with this issue, you may be asked for some of the following
   information:
    WordPress version 5.6 Current theme: Divi (version 4.7.5) Current
   plugin: SG Optimizer (version 5.7.14) PHP version 7.3.26
 * Error Details
    ============= An error of type E_ERROR was caused in line 155 
   of the file /home/customer/www/startupnames.com/public_html/wp-content/plugins/
   sg-cachepress/core/DNS/Cloudflare.php. Error message: Uncaught Error: Cannot 
   use object of type WP_Error as array in /home/customer/www/startupnames.com/public_html/
   wp-content/plugins/sg-cachepress/core/DNS/Cloudflare.php:155 Stack trace: #0 /
   home/customer/www/startupnames.com/public_html/wp-content/plugins/sg-cachepress/
   core/DNS/Cloudflare.php(118): SiteGround_Optimizer\DNS\Cloudflare->set_zone_id()#
   1 /home/customer/www/startupnames.com/public_html/wp-content/plugins/sg-cachepress/
   core/DNS/Cloudflare.php(401): SiteGround_Optimizer\DNS\Cloudflare->prepare() #
   2 /home/customer/www/startupnames.com/public_html/wp-content/plugins/sg-cachepress/
   core/Supercacher/Supercacher.php(180): SiteGround_Optimizer\DNS\Cloudflare->purge_cache()#
   3 /home/customer/www/startupnames.com/public_html/wp-content/plugins/sg-cachepress/
   core/Supercacher/Supercacher_Terms.php(59): SiteGround_Optimizer\Supercacher\
   Supercacher::purge_cache_request(‘[https://www.sta…&#8217](https://www.sta…&#8217);)#
   4 /home/customer/www/startupnames.com/public_html/wp-content/plugins/sg-cachepress/
   core/Supercacher/Supercacher_Posts.php(

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

 *  Plugin Author [Stanimir Stoyanov](https://wordpress.org/support/users/sstoqnov/)
 * (@sstoqnov)
 * SiteGround Representative
 * [5 years, 4 months ago](https://wordpress.org/support/topic/sg-errors/#post-13990876)
 * Hey [@dgalauran](https://wordpress.org/support/users/dgalauran/)
 * We are aware of the issue and it will be fixed in the next version.
 * Regards,
    Stanimir
 *  Thread Starter [dgalauran](https://wordpress.org/support/users/dgalauran/)
 * (@dgalauran)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/sg-errors/#post-14020362)
 * Thank you for this.

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

The topic ‘SG Errors’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [dgalauran](https://wordpress.org/support/users/dgalauran/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/sg-errors/#post-14020362)
 * Status: resolved