Title: PHP Fatal Errors
Last modified: July 2, 2021

---

# PHP Fatal Errors

 *  Resolved [Boston Tom](https://wordpress.org/support/users/tneveu/)
 * (@tneveu)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-errors-13/)
 * Since upgrading to 2.7.1, my site is riddled with Server Error 500. It was the
   only plugin I updated this am. I had to call tech support and even they couldn’t
   figure it out. Then I looked at the error log in the wp-admin folder, and this
   is what it says:
 *     ```
       [02-Jul-2021 15:12:12 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type WP_Error as array in /…/wp-content/plugins/ad-inserter/ad-inserter.php:6032
       Stack trace:
       #0 /…/wp-includes/class-wp-hook.php(292): ai_ajax_backend('')
       #1 /…/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array)
       #2 /…/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
       #3 /…/wp-admin/admin-ajax.php(187): do_action('wp_ajax_ai_ajax...')
       #4 {main}
         thrown in /…/wp-content/plugins/ad-inserter/ad-inserter.php on line 6032
       ```
   
 * Any help would be appreciated. Is there a way to download the previous version
   somewhere and/or revert back?

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

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-errors-13/#post-14620697)
 * Hello,
 * older versions can be downloaded here:
    [https://wordpress.org/plugins/ad-inserter/advanced/](https://wordpress.org/plugins/ad-inserter/advanced/)
 * Please check with the previous version if it still causes the same error.
 *  Thread Starter [Boston Tom](https://wordpress.org/support/users/tneveu/)
 * (@tneveu)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-errors-13/#post-14620712)
 * Do I simply overwrite the plugin (v2.7.1) or do I have to deactivate it, delete
   it, and reinstall it using v2.7.0? Thanks!
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-errors-13/#post-14620724)
 * Actually you can simply upload, install and activate the old one.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-errors-13/#post-14622628)
 * Are you still having issues?
 *  Thread Starter [Boston Tom](https://wordpress.org/support/users/tneveu/)
 * (@tneveu)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-errors-13/#post-14622835)
 * I gave it a day to make sure it wasn’t the server and that seems to have resolved
   it. Haven’t checked the error log in the wp-admin folder which is where I found
   these errors. Using 2.7.1 so fingers crossed. Thanks!
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-errors-13/#post-14622932)
 * Ok, thank you.

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

The topic ‘PHP Fatal Errors’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-errors-13/#post-14622932)
 * Status: resolved