• 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

    https://wordpress.org/plugins/all-in-one-event-calendar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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_

    (@fanfare_)

    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?

    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.