• PHP Fatal error: Uncaught Error: Call to a member function get_id() on bool in /wp-content/plugins/bambora-online-checkout/bambora-online-checkout.php:1453
    Stack trace:

    0 /wp-includes/class-wp-hook.php(326): Bambora_Online_Checkout->bambora_online_checkout_meta_boxes()
    1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    2 /wp-includes/plugin.php(517): WP_Hook->do_action()

    3 /wp-content/plugins/wp-user-profiles/wp-user-profiles/includes/admin.php(676): do_action()
    4 /wp-includes/class-wp-hook.php(324):
    wp_user_profiles_user_admin()
    5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    6 /wp-includes/plugin.php(517): WP_Hook->do_action()
    7 /wp-admin/admin.php(259): do_action()

    This plugin now tries to guess that HPOS is in use in WooCommerce by detecting that global $post is not set or null. This is wrong logic, as the filter ‘add_meta_boxes’ may be called when editing users and there is no global $post variable. Please guard against null object to avoid fatals in PHP 8.

    And please bring this to the developers. The other plugin is not the cause, this one is.

  • The topic ‘Fatal error when editing user with other plugin’ is closed to new replies.