• Resolved marko2002

    (@marko2002)


    Just updated latest version and unfortunately trying to run the updater causes a critical error …

    SliceWP has been updated! To keep things running smoothly, we have to update SliceWP’s database to the latest version.

    Run the updater

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author iova.mihai

    (@iovamihai)

    Hey @marko2002,

    Thank you for reporting this! Can you please let me know what the error is? We’ve tested the functionality several times without any problems, so more details about the error would be really helpful.

    Thank you and best wishes,
    Mihai

    Thread Starter marko2002

    (@marko2002)

    When we hit the “Run the updater” button on the dashboard after upgrade it returns:

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    I’ve looked in the error logs but nothing is reporting, if there are other logs you would like me to look in just shout.

    Plugin Author iova.mihai

    (@iovamihai)

    Hey @marko2002,

    Can you please also check the PHP error log if you haven’t? That should show all warnings, notices and fatal errors happening on your website.

    Thank you!
    Mihai

    Thread Starter marko2002

    (@marko2002)

    Hope this helps
    ===============
    Fatal error: Uncaught Error: Call to a member function to_array() on null in /home/###/wp-content/plugins/slicewp/includes/base/abstracts/abstract-class-object-db.php:255 Stack trace:
    #0 /home/###/wp-content/plugins/slicewp/includes/base/commission/functions.php(116): SliceWP_Object_DB->update(2, Array)
    #1 /home/###/wp-content/plugins/slicewp/includes/base/migrations/class-migration-1-0-59.php(116): slicewp_update_commission(2, Array)
    #2 /home/###/wp-content/plugins/slicewp/includes/base/abstracts/abstract-class-migration.php(105): SliceWP_Migration_1_0_59->migrate()
    #3 /home/###/wp-content/plugins/slicewp/includes/base/abstracts/abstract-class-migration.php(196): SliceWP_Abstract_Migration->run_migration()
    #4 /home/###/wp-includes/class-wp-hook.php(303): SliceWP_Abstract_Migration->check_for_migrate_actions(”)
    #5 /home/###/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 in /home/###/wp-content/plugins/slicewp/includes/base/abstracts/abstract-class-object-db.php on line 255

    Plugin Author iova.mihai

    (@iovamihai)

    Hey @marko2002,

    Thank you for providing the PHP error log! I’ve managed to isolate and replicate the issue.

    We’ll release an update shortly with a fix. As soon as the update is ready, I’ll let you know here.

    Thank you once again!
    Mihai

    Thread Starter marko2002

    (@marko2002)

    Nice one, quick responses as usual ??

    Plugin Author iova.mihai

    (@iovamihai)

    Hey @marko2002,

    Just released the new version. Can you please update SliceWP and run the updater again? It should work nicely, but if it doesn’t, please let me know.

    Best wishes,
    Mihai

    Thread Starter marko2002

    (@marko2002)

    Perfect, nice one ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘1.0.59 database update critical error’ is closed to new replies.