Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Subrata Mal

    (@subratamal)

    Hi @techguysa could you please share more details about the errors maybe with debug log or a screenshot?

    Hello,

    After updating the free WooWallet plugin to the latest version, my site went down with a fatal error triggered during the plugin’s own update/migration routine.

    Error log:

    Fatal error: Uncaught Error: Call to undefined function get_user_by() in …/wp-includes/meta.php:1830
    Stack trace: 0 meta.php(213): get_object_subtype(‘user’, 1) 1 user.php(1310): update_metadata(‘user’, 1, ‘_woo_wallet_pro…’, 1, ”) 2 woo-wallet/includes/helper/woo-wallet-update-functions.php(447): woo_wallet_update_1611_migrate_promotion_dismissal() 3 class-woo-wallet-install.php(268): Woo_Wallet_Install::update() 4 class-woo-wallet-install.php(66): Woo_Wallet_Install->__construct()

    It looks like the update routine woo_wallet_update_1611_migrate_promotion_dismissal() runs during plugin bootstrap, before the plugins_loaded hook fires, so pluggable functions like get_user_by() aren’t defined yet, and the site crashes with a white screen / fatal error for every visitor.

    I had to roll back to the previous plugin version to bring the site back online. Could you confirm this is a known issue and let me know when a fix will be released, or whether there’s a safe way to re-run the update?

    Plugin Author Subrata Mal

    (@subratamal)

    Hi @ehsan120y,

    Thank you for addressing this issue. We’ve released a fix in plugin update v1.6.12. This version should be available on your WordPress dashboard approximately 6 hours from the time of this post.

    Thread Starter techguysa

    (@techguysa)

    hi sorry for not pasting the error earlier.

    yes Ehsan had the exact same error as me.

    will wait for the fix as well and update midnight my timezone to test and ill revert back.

    Thread Starter techguysa

    (@techguysa)

    Confirm works with update 1.6.12

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

You must be logged in to reply to this topic.