• Resolved rainer0412

    (@rainer0412)


    Hi there,

    my calendar plugin causes a whitescreen on my whole website since version 3.5
    Worked fine before.
    debug log says:
    PHP Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Duplicate entry ‘0’ for key ‘PRIMARY’ in /home/webmtf764/html/wp-content/plugins/my-calendar/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44

    php 8.2

    Any Idea?

    The page I need help with: [log in to see the link]

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

    (@joedolson)

    A lot of plugins use ActionScheduler as a library to manage actions, so this is probably not caused by My Calendar, but pre-existing from some older data, that just came up with My Calendar added the library.

    The error suggests that there’s corrupted data in the ActionScheduler table, where the primary key is 0 for more than one row.

    Here’s an article that talks about solving that: https://clicknathan.com/web-design/woocommerce-actionscheduler-table-error/

    There won’t be any data in the ActionScheduler table from My Calendar unless you’ve executed a migration from The Events Calendar, so as far as My Calendar is concerned, you can safely drop all of the data from there. But I can’t speak for other plugins.

    Thread Starter rainer0412

    (@rainer0412)

    Thanks a lot
    a simple “auto increment” in the “action_id” line seems to have done the job. Plugin activated, no whitescreen 🙂

    Plugin Author Joe Dolson

    (@joedolson)

    Thanks for following up!

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

The topic ‘whitescreen since version 3.5’ is closed to new replies.