• sarahphymn

    (@sarahphymn)


    Hi Joe,

    We added a new multi-day event today, and noticed that it showed up completely wrong on the front end — rather than two days in April, it listed its dates as being eight days in September. Very bizarre, so as my first troubleshooting step, I went to regenerate the event occurrences table.

    1) “Regenerate event occurrences table” => Save: The page spins for a minute or two, then resolves to an error code 500: Internal Server Error page. This is the only thing on the whole site that yields that error. Since I keep trying to do it, the calendar is now not showing any events, or only a few, but not all of them because it cannot complete.

    Deactivated all other plugins, did a fresh install of the calendar plugin, bumped up the WordPress memory limit, tried a different theme. No help.

    2) Turned on WP DEBUG and now, when I go to the Manage Events page, I see a looooooong list of PHP errors which all amount to: “Notice: Undefined property: stdClass::$occur_end” and “Notice: Undefined property: stdClass::$occur_id” in the my-calendar-templates.php and my-calendar-core.php files.

    I don’t know if #2 is related to #1? But do you have any idea what could be going on with either of them?

    Also, I’m aware that #1 is sometimes a host issue, so I’m on hold with them as well. But I wanted to see if this behavior sounded familiar to you, particularly the errors in #2.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    What version of My Calendar do you have installed? #2 is definitely related to #1 – if you’re working with a database that has all the occurrences wiped out, then you will end up with errors due to the missing data.

    Do you have a lot of events with very long recurrence cycles? E.g., recurring a large number of times, etc.

    Thread Starter sarahphymn

    (@sarahphymn)

    Most recent version (it was a fresh download/install), and none of the events have recurrences — most are multi-date but they don’t employ the recurrence function.

    Plugin Author Joe Dolson

    (@joedolson)

    Hmm. That’s pretty weird, then. Can you submit a support request from the plug-in’s built-in support form? That would give me some helpful information, but don’t post that information here.

    Thread Starter sarahphymn

    (@sarahphymn)

    Sent!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot regenerate event table / error 500 / Undefined property’ is closed to new replies.