WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Fatal error on update, what should I do next? (6 posts)

  1. Bazar6
    Member
    Posted 4 months ago #

    I'm on the newest WordPress 3.8.1 and currently my The Events Calendar is on 3.2, and during a mass plugin update, it hung on updating this, then gave me a 500 error for the site, then all hell broke loose. Long story short, I'm left with a deactivated The Events Calendar, which gives me the below message when attempting to reactivate:

    Warning: require_once(/[site-root]/wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php) [function.require-once]: failed to open stream: No such file or directory in /[site-root]/wp-content/plugins/the-events-calendar/the-events-calendar.php on line 30

    Fatal error: require_once() [function.require]: Failed opening required '/[site-root]/wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php' (include_path='.:/usr/lib/php5') in /[site-root]/wp-content/plugins/the-events-calendar/the-events-calendar.php on line 30

    I don't think it's easy to export events from the content tables (via phpMyAdmin), so I'm not even going to attempt a CSV export and import. But I would like to know what is the best way to get this plugin working again without losing events and posts already created in the DB. Is it a simple uninstall and reinstall and boom everything is still there and working (minus any custom settings); do I need to FTP and remove the directory then reinstall via WP, or also FTP the reinstall as well?

    I know the error says there's files missing, but I don't want to do anymore damage so I didn't attempt to do that.

    Any help would be greatly appreciated.

    Thanks!

    https://wordpress.org/plugins/the-events-calendar/

  2. kaniamea
    Member
    Posted 4 months ago #

    Hello,
    I think that if you reinstall your plugin the events will stay in your phpMyAdmin and you will not lose them. But to be on the safe side it might be best to wait until Barry (the plugin developer) or someone else who has done that tell you it is ok to do that.

  3. leahkoerper
    Modern Tribe Support Rep
    Plugin Author

    Posted 4 months ago #

    We definitely always recommend backing up your database, but you should not loose any events or data when uninstalling and re-installing the plugin. It sounds like a good course of action in this situation!

    ~Leah

  4. Bazar6
    Member
    Posted 4 months ago #

    Thanks for the recommendation Leah. I'll make the backup and reinstall tonight and will report back on if that was successful. I appreciate it!

  5. Bazar6
    Member
    Posted 4 months ago #

    Uninstalling and reinstalling did the trick. I backed up everything using BackWPup, verified that was successful, then uninstalled the 3.2 Events plugin and installed the new 3.4 Events plugin. Some settings needed to be changed to how I originally had them, but no events were lost.

    Thanks for the help everyone!

  6. leahkoerper
    Modern Tribe Support Rep
    Plugin Author

    Posted 4 months ago #

    Glad to hear it! If you have a minute or two, we would love it if you left us a review. Thank you for your support!

Reply

You must log in to post.

About this Plugin

About this Topic