Title: Errors After Upgrading WordPress
Last modified: July 7, 2022

---

# Errors After Upgrading WordPress

 *  [dojocreative](https://wordpress.org/support/users/dojocreative/)
 * (@dojocreative)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/errors-after-upgrading-wordpress/)
 * I would have replied to one of the existing topics, but it appears they are closed.
   Just hoping this can help someone else out.
 * I believe the issue is that the proper file no longer gets included in code when
   the admin ajax request is happening. I was able to patch it and have not yet 
   noticed any side effects.
 * In social-icons.php Line 139-141 – remove the if statement, keep the include_once.
 * So this:
 *     ```
       if ( $this->is_request( 'admin' ) ) {
           include_once( SI_ABSPATH . 'includes/admin/class-si-admin.php' );
       }
       ```
   
 * Just becomes this:
    `include_once( SI_ABSPATH . 'includes/admin/class-si-admin.
   php' );`

The topic ‘Errors After Upgrading WordPress’ is closed to new replies.

 * ![](https://ps.w.org/social-icons/assets/icon-256x256.jpg?rev=2470583)
 * [Social Icons](https://wordpress.org/plugins/social-icons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-icons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-icons/)
 * [Active Topics](https://wordpress.org/support/plugin/social-icons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-icons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-icons/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [dojocreative](https://wordpress.org/support/users/dojocreative/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/errors-after-upgrading-wordpress/)
 * Status: not a support question