Title: Specific Plugin Error Makes Updates Impossible.
Last modified: August 22, 2016

---

# Specific Plugin Error Makes Updates Impossible.

 *  [fanfare_](https://wordpress.org/support/users/fanfare_/)
 * (@fanfare_)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/specific-plugin-error-makes-updates-impossible/)
 * Whenever I try to update my version of WordPress or even a plugin for that matter
   I see this error message:
 * Warning: array_search() [function.array-search]: Wrong datatype for second argument
   in /home/content/s/t/j/stjohnssaginaw/html/wp-content/plugins/all-in-one-event-
   calendar/all-in-one-event-calendar.php on line 160
 * Fatal error: Cannot use object of type stdClass as array in /home/content/s/t/
   j/stjohnssaginaw/html/wp-content/plugins/all-in-one-event-calendar/all-in-one-
   event-calendar.php on line 160
 * I’ve tried to update the ALL IN ONE EVENT CALENDAR plugin specifically to see
   if that would eliminate the issue but I continue to see the same error message.
   I’ve tried to delete the offending plugin but, again, I’m met with this error
   message.
 * Any thoughts?
 * The site url is: [http://www.stjohns-saginaw.org](http://www.stjohns-saginaw.org)
 * [https://wordpress.org/plugins/all-in-one-event-calendar/](https://wordpress.org/plugins/all-in-one-event-calendar/)

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

 *  [cefiar](https://wordpress.org/support/users/cefiar/)
 * (@cefiar)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/specific-plugin-error-makes-updates-impossible/#post-5308309)
 * What version of Ai1ec are you running, as this error is for an older version 
   of the plugin.
 * If you are using a 1.1.x version of the plugin, edit the file referenced, comment
   out line 160 and try again.
 * Note: The error message will stay till you hit the **Dismiss** button. It will
   not go away of it’s own accord.
 *  Thread Starter [fanfare_](https://wordpress.org/support/users/fanfare_/)
 * (@fanfare_)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/specific-plugin-error-makes-updates-impossible/#post-5308479)
 * I’m really not sure which one I’m running. I’m met with this same error message
   each time I try to anything with plugins with the exception of the “editor” option.
 * I’m able to open the document and edit but when I tried to comment out line 160
   the only thing that’s there is a } and even then I was unable to “upload the 
   data.”
 * Other thoughts?
 *  [cefiar](https://wordpress.org/support/users/cefiar/)
 * (@cefiar)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/specific-plugin-error-makes-updates-impossible/#post-5308502)
 * Are you sure you’re editing the right file? I would not trust that the WP plugin
   editor can handle this (the V1.10.* plugin is > 1.5MB split over heaps of files).
 * Best bet is to download the file using FTP, edit it locally, then upload it again.
 * Either that, or simply delete the plugin dir (the calendar data is in the database,
   not the files) and then install a later version of the plugin.
 * Note: Always advisable to back up your complete database and files before doing
   any update, just in case.

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

The topic ‘Specific Plugin Error Makes Updates Impossible.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [cefiar](https://wordpress.org/support/users/cefiar/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/specific-plugin-error-makes-updates-impossible/#post-5308502)
 * Status: not resolved