Plugin crashed my site and went into recovery mode.
-
It’s strange, I didn’t do anything, but my site automatically updated OTHER plugins, which may have emptied the site cache and rebuilt the site, revealing this error. I’m wondering if it has something to do with the AWS outage yesterday? Is there a way to kill the process if lastfm api connection doesn’t work, so at least it fails gracefully until the service comes back up?
This is the technical issue report I got back from my WordPress install, if it helps. I removed any info referring to my Last FM account or domain with the issue.
Still love the plugin. I hope it stabilizes the connection.
WordPress version 5.8.2
Current theme: ———
Current plugin: Last FM (version 1.0.3)
PHP version 7.3.27Error Details
=============
An error of type E_ERROR was caused in line 193 of the file /home/domain.com/wp-content/plugins/last-fm/last-fm.php. Error message: Uncaught Error: Cannot use object of type WP_Error as array in /home/domain.com/wp-content/plugins/last-fm/last-fm.php:193
Stack trace:
#0 /home/domain.com/wp-content/plugins/last-fm/last-fm.php(246): lastfm_retrieve_xml(‘usernameemoved’, ‘myapikeyremoved’)
#1 /home/domain.com/wp-content/plugins/last-fm/last-fm.php(39): lastfm_update_data()
#2 /home/domain.com/wp-settings.php(409): include_once(‘/home/domain.com…’)
#3 /home/domain.com/wp-config.php(83): require_once(‘/home/domain.com…’)
#4 /home/domain.com/wp-load.php(50): require_once(‘/home/domain.com…’)
#5 /home/domain.com/guerrilladigital.cc/wp-login.php(12): require(‘/home/domain.com…’)
#6 {main}
thrown`
- The topic ‘Plugin crashed my site and went into recovery mode.’ is closed to new replies.