WordPress.org

Ready to get started?Download WordPress

Forums

All-in-One Event Calendar
[resolved] [closed] [Plugin: All-in-One Calendar] Automatically updating to 1.6 broke the calendar (35 posts)

  1. cossd
    Member
    Posted 2 years ago #

    I updated automatically to 1.6 but received multiple fatal errors, referring to the all-in-one-event-calendar.php file (sorry I don't have a record of these errors, but from memory they related to approximately lines 271, 274, and 278).

    This made the calendar go completely offline, on both my main calendar page and in the sidebar widget. I was also unable to delete the plugin because of errors.

    In the end I used FTP to delete all files in the all-in-one-event-calendar directory, then manually installed version 1.5 by uploading the zip file.

    Version 1.6 looks like a great update; can't wait to use it when these issues are resolved. Until then I'll stick with 1.5

    ( Not sure if it helps, but the calendar is at http://www.councilofsocialservices.org.nz/calendar/ )

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

  2. Marventus
    Member
    Posted 2 years ago #

    Hi!
    Have you tried to upload version 1.6 via FTP and activate it to see if you get the same issues? Another thing you could try, in case of a harmful plugin interaction between AiOC and another plugin, is disabling all plugins before uploading and activating version 1.6.
    Other than that, if the plugin author maintains a forum, try to check if other people are reporting the same problem and to post your issue in there as well to maximize the chances of the author learning about your issue.

  3. KillerWhale
    Member
    Posted 2 years ago #

    Automatic update broke my WordPress! I had to remove the plugin via FTP, deactivated it on the dashboard, re-uploaded it, but it doesn't work. WP answers the plugin has fatal errors:

    Warning: Wrong parameter count for array_unique() in /public_html/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 271

    Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 274

    Fatal error: Class 'Ai1ec_Settings' not found in /public_html/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 286

    DO NOT UPDATE TO THIS VERSION, FOLKS!

  4. perfumewagon
    Member
    Posted 2 years ago #

    SOLUTION: Visit the plugin site and download the stable version 1.5 here http://wordpress.org/extend/plugins/all-in-one-event-calendar/download/
    unzip the archive and upload it to the same directory, go back to your installed plugins and re-activate the plugin.
    I just did this and mine is back working again. Hope this helps guys!
    Rich.

  5. KillerWhale
    Member
    Posted 2 years ago #

    Yep, just done that, thanks. But pushing this version live was a mistake from the devs...

  6. Marventus
    Member
    Posted 2 years ago #

    It seems the author got hold of the issues experienced by the plugin users and has just released an update. Here's a link to the new 1.6.1 version.
    I hope that will solve everyone's problems.
    Cheers!

  7. cossd
    Member
    Posted 2 years ago #

    Thanks everyone for your input. Installing 1.6 via FTP or the WordPress dashboard resulted in the same error.

    I used the same method as perfumewagon and KillerWhale to revert to 1.5, which is stable.

    This morning I tried installing 1.6.1, and received the same errors as with 1.6:

    Warning: Wrong parameter count for array_unique() in /var/www/vhosts/councilofsocialservices.org.nz/httpdocs/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 271

    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/councilofsocialservices.org.nz/httpdocs/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 274

    Fatal error: Class 'Ai1ec_Settings' not found in /var/www/vhosts/councilofsocialservices.org.nz/httpdocs/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 286

    SO once again I used FTP to delete all files, then successfully reverted back to 1.5.

    Shortly afterwards, I noticed that version 1.6.2 had been released. After installing 1.6.2, I received the following (similar) errors:

    Warning: Wrong parameter count for array_unique() in /var/www/vhosts/councilofsocialservices.org.nz/httpdocs/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 272

    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/councilofsocialservices.org.nz/httpdocs/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 275

    Fatal error: Class 'Ai1ec_Settings' not found in /var/www/vhosts/councilofsocialservices.org.nz/httpdocs/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 287

    So once again, I've used FTP to delete the files, and have reverted back to version 1.5 in the meantime.

  8. nelra
    Member
    Posted 2 years ago #

    Thank you for the details. Are you using a cache plugin with WP? Can you let us know other plugins you are using?

  9. nelra
    Member
    Posted 2 years ago #

    Actually - this appears related to PHP version (prior to PHP 5.2.9) - we are looking into this and will release a patch

  10. nelra
    Member
    Posted 2 years ago #

    Version 1.6.3 has been released with a fix for this report - thank you very much for the details

  11. smithgt
    Member
    Posted 2 years ago #

    I can't find the exact PHP version from my hosting - it just says v5

    However, V1.6.3 Premium is now working for me. I had to delete the broken calendar events though.

  12. nelra
    Member
    Posted 2 years ago #

    Great to hear, thank you for the update

  13. Marventus
    Member
    Posted 2 years ago #

    Actually - this appears related to PHP version (prior to PHP 5.2.9) - we are looking into this and will release a patch.

    Thanks for letting everyone know, nelra. If you guys don't mind a piece of advice, it is usually dangerous to cross the PHP 5.3 barrier without a fallback because in my experience, web hosts rarely use => 5.3 on their servers.
    Cheers!

  14. cossd
    Member
    Posted 2 years ago #

    Thank you so much - version 1.6.3 has solved all problems. The upgrade from 1.5 to 1.6.3 went smoothly. I then upgraded to 1.6.3 Premium, which works perfectly as well.

    A great update - cheers!

  15. Marventus
    Member
    Posted 2 years ago #

    version 1.6.3 has solved all problems.

    glad to hear. In that case, please don't forget to mark this thread as resolved.
    Thanks!

  16. danstpeter
    Member
    Posted 2 years ago #

    cossd,

    Congratulations on upgrading from 1.5 to 1.6.3 smoothly.

    Would you mind describing the step-by-step process you used to upgrade from 1.5 to 1.6.3 and then to 1.6.3 Premium?

    Thanks.
    Dan

  17. cossd
    Member
    Posted 2 years ago #

    Hi Dan,

    First I used the automatic update in the WordPress Dashboard to upgrade from 1.5 to 1.6.3.

    Once it was installed (which took about 30 seconds), I went into the AI1EC settings in the WordPress Dashboard, and in the top-right area of the screen was an advertisement for 1.6.3 Premium.

    I clicked the ad. Unfortunately at this moment I can't remember exactly how I installed it (I know, poor memory!). Either it auto-installed after I followed instructions, once I'd clicked the ad; or maybe I had to download the 1.6.3 Premium zip file, then manually install it.

    (The zip file can be downloaded from http://www.thenl.ly).

    To manually install a plugin, in your Dashboard to go Plugins > Add New > Upload. Choose the 1.6.3 Premium zip file, and click Install.

    After it installs, you may need to click Activate.

    Sorry I can't be more specific - good luck, and please let me know if I can be of any more (vague) assistance!

  18. danstpeter
    Member
    Posted 2 years ago #

    Thanks, cossd!

    I had read a couple of different posts about installing automatically or manually and I wasn't sure the best way to go.

    Very helpful! Thank you.

    Dan

  19. smithgt
    Member
    Posted 2 years ago #

    1.6.3 fixed it for me too - I've now updated my live site. :-)

  20. Marventus
    Member
    Posted 2 years ago #

    Hi cossd!
    Please don't forget to mark this thread as resolved whenever you can (if indeed it is).
    Thanks!

  21. cossd
    Member
    Posted 2 years ago #

    Hi Marventus,

    Sorry I thought I already had - have done now - my bad!

    Cheers!

  22. Marventus
    Member
    Posted 2 years ago #

    Don't worry about it! Thanks for taking care of it.
    Cheers!

  23. ingenuity
    Member
    Posted 2 years ago #

    I had a big problem today when I used One Click Updater and it updated the All In One Event Calendar to 1.6.3. It completely broke my WP site (no errors, just a white screen). By renaming Plugins to plugins-bu, I got my site and dashboard back, then renamed the folder back to plugins, and one by one activated the plugins until it was clear that 1.6.3 caused the problem. Then I found this thread and installed 1.5. That put the calendar back but all my monthly recurring events are gone and I must restore them.

    I'm surprised to read on this thread that 1.6.3 is working for others, for it broke my site and I will advise other people using it to not do the upgrade until it's clear it can be used. Hope to hear back from people who know more. The site I had the problem with is
    http://bartonspringspublicprocess.com

  24. sauril
    Member
    Posted 2 years ago #

    Hi ingenuity - I'm sorry to hear that the update broke your wp site.

    We have 1.7 coming out soon, which should hopefully solve some of your problems. The database is not changed on update, so your recurring events should still be there somewhere.

  25. ingenuity
    Member
    Posted 2 years ago #

    Thanks.I'll look for 1.7. Is there a mailing list I can get on so I'll know it's time to upgrade?

  26. ingenuity
    Member
    Posted 2 years ago #

    @sauril I just had the plugin break in another site. There was a problem with both 1.6.6.3 and 1.7. I could only recover by renaming plugins to deactivate all and then reactivating all but the all-in-one calendar by bit.ly.

    I was only able to work with 1.5. Must be an incompatibility with one of my other plugins. If you care to know what they are, please let me know how to inform you (preferably of this forum). The site is http://donnalancaster.net.

  27. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @ingenuity
    You will receive a notification when logging in to wp-admin, when there is an update available. For premium version there is a button shown in that notification that when clicked will auto update the plugin.

    For your other website, try the following approach:
    1. Delete all-in-one-event-calendar folder from wp-content/plugins
    2. Login to wp-admin.
    3. Download the latest version available from then.ly (currently it is 1.7)
    4. Extract the downloaded archive and upload it via ftp to your wp-content/plugins/ folder
    5. Login to wp-admin and activate the plugin

    Let me know of any troubles. If it breaks your website and you need assistance with it you can reach me at yani at then.ly and I will be more than happy to help you.

  28. ingenuity
    Member
    Posted 2 years ago #

    @yani.iliev thank you for the quick response.

    It was the version 1.7 that today broke the site donnalancaster.net. I had a copy of 1.5, and when I installed that there was no problem. Since you were kind enough to offer further assistance, a little later tonight I will delete the all-in-one-event-calendar folder from wp-content/plugins and try again to do a clean install of 1.7. I'll let you know how it goes.

  29. ingenuity
    Member
    Posted 2 years ago #

    @yani.iliev The experiment was successful. After deleting the older versions, I installed v 1.7 and it seems to work fine without crashing the site. The only s.n.a.f.u. was that I foolishly deleted all the data and had to rebuild it manually. Thankfully, there wasn't much.

    I may try upgrading on the first site--but without deleting the data first--so it will, I hope, transfer from v1.5 to v1.7.

  30. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @ ingenuity
    The only when that you can delete the data is by uninstalling the plugin via wordpress wp-admin interface. When you delete the all-in-one-event-calendar folder from wp-content/plugins data is NOT deleted.
    WordPress auto-update functions almost the same way except that it puts the website into maintenance mode and thus preventing errors to happen while update is running.
    So yes, proceed upgrading from v1.5 -> v1.7 using the method described above and it should work fine on all websites. For any troubles feel free to contact me or to post your questions to your helpdesk -> help.then.ly

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic