Title: Fatal error:
Last modified: July 21, 2019

---

# Fatal error:

 *  Resolved [alistairk](https://wordpress.org/support/users/alistairk/)
 * (@alistairk)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3257/)
 * Plugin has crashed my site. Nothing has changed in anyway.
 * Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /
   home/buyersag/public_html/investate.com.au/wp-content/plugins/optimole-wp/inc/
   settings.php:220 Stack trace: #0 /home/buyersag/public_html/investate.com.au/
   wp-content/plugins/optimole-wp/inc/admin.php(378): Optml_Settings->is_connected()#
   1 /home/buyersag/public_html/investate.com.au/wp-includes/class-wp-hook.php(286):
   Optml_Admin->add_dns_prefetch(Array, ‘dns-prefetch’) #2 /home/buyersag/public_html/
   investate.com.au/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)#
   3 /home/buyersag/public_html/investate.com.au/wp-includes/general-template.php(
   3071): apply_filters(‘wp_resource_hin…’, Array, ‘dns-prefetch’) #4 /home/buyersag/
   public_html/investate.com.au/wp-includes/class-wp-hook.php(286): wp_resource_hints(”)#
   5 /home/buyersag/public_html/investate.com.au/wp-includes/class-wp-hook.php(310):
   WP_Hook->apply_filters(”, Array) #6 /home/buyersag/public_html/investate.com.
   au/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #7 / in /home/buyersag/
   public_html/investate.com.au/wp-content/plugins/optimole-wp/inc/settings.php 
   on line 220
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-3257%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimole](https://wordpress.org/support/users/optimole/)
 * (@optimole)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3257/#post-11754059)
 * Hey [@alistairk](https://wordpress.org/support/users/alistairk/),
 * I’ve added a fail-safe mechanism to avoid such issues in the latest v2.1.1
 * Please update and let me know if you run in any other issues.
 * Thanks for understanding!

Viewing 1 replies (of 1 total)

 The topic ‘Fatal error:’ is closed to new replies.

 * ![](https://ps.w.org/optimole-wp/assets/icon-256x256.gif?rev=3013666)
 * [Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization](https://wordpress.org/plugins/optimole-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/optimole-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/optimole-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/optimole-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/optimole-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/optimole-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimole](https://wordpress.org/support/users/optimole/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3257/#post-11754059)
 * Status: resolved