• Resolved MisterHunter

    (@misterhunter)


    We are now getting this error when trying to login to the website:

    Error Details
    =============
    An error of type E_ERROR was caused in line 873 of the file
    wp-content/plugins/nm-gift-registry-and-wishlist-lite/includes/class-nmgr-wordpress.php.
    Error message: Uncaught Error: Call to a member function
    get_address_fields() on null in
    wp-content/plugins/nm-gift-registry-and-wishlist-lite/includes/class-nmgr-wordpress.php:873
    Stack trace:
    #0 wp-includes/class-wp-hook.php(303):
    NMGR_Wordpress::add_extra_shipping_address_metadata(Array,
    Object(NMGR_Wishlist))
    #1 wp-includes/plugin.php(189):
    WP_Hook->apply_filters(Array, Array)
    #2 wp-content/plugins/nm-gift-registry-and-wishlist-lite/includes/class-nmgr-data.php(145):
    apply_filters(‘nmgr_get_meta_d…’, Array, Object(NMGR_Wishlist))
    #3 wp-content/plugins/nm-gift-registry-and-wishlist-lite/includes/class-nmgr-data.php(99):
    NMGR_Data->get_meta_data()
    #4 wp-content/plugins/nm-gift-registry-and-wishlist-lite/includes/class-nmgr-wishlist.php(83):
    NMGR_Data->__construct(11595)
    #5 wp-content/plugins/nm-gift-registry-and-wishlist-lite/includes/nmgr-functions.php(622):
    NMGR_Wish

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

    (@nmerii)

    I have fixed the error. Please download the latest update.

    Thread Starter MisterHunter

    (@misterhunter)

    Thank you!

    Thread Starter MisterHunter

    (@misterhunter)

    We seem to be receiving this error again, here is some more information:

    WordPress version 5.8
    Current theme: Flatsome Child (version 3.2.8)
    Current plugin: NM Gift Registry and Wishlist Lite (version 2.3.14)
    PHP version 7.4.21
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 968 of the file
    public_html/wp-content/plugins/nm-gift-registry-and-wishlist-lite/includes/class-nmgr-wishlist.php.
    Error message: Uncaught Error: Call to a member function
    get_address_fields() on null in
    public_html/wp-content/plugins/nm-gift-registry-and-wishlist-lite/includes/class-nmgr-wishlist.php:968
    Stack trace:
    #0 public_html/wp-content/plugins/nm-gift-registry-and-wishlist-lite/includes/class-nmgr-ajax.php(47):
    NMGR_Wishlist->has_shipping_address()
    #1 public_html/wp-includes/class-wp-hook.php(303):
    NMGR_Ajax::get_wishlist_data(Array, Object(NMGR_Wishlist))
    #2 public_html/wp-includes/plugin.php(189):
    WP_Hook->apply_filters(Array, Array)
    #3 public_html/wp-content/plugins/nm-gift-registry-and-wishlist-lite/includes/class-nmgr-wishlist.php(126):
    apply_filters('nmgr_get_wishli...', Array, Object(NMGR_Wishlist))
    #4 public_html/wp-content/plugins/nm-gift-registry-and-wishlist-lite/includes/class-nmgr-templates.php(312):
    NMGR_Wishlist->get_data()
    #5 public_html/wp-includes/class-wp-hook.php(305):
    NMGR_Templates::set_global_variable(Object(WP_Post))
    #6 public
    Plugin Author nmerii

    (@nmerii)

    That’s surprising. I would be releasing an update shortly to fix it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Error’ is closed to new replies.