• Resolved trouni

    (@trouni)


    Hi,

    On the subscriber page, in the column product, the first few rows are displaying fine, but I have one product that shows this fatal error in the Product column, which blocks the rest of the page and the remaining subscribers from rendering:

    Fatal error: Uncaught Error: Call to a member function get_formatted_name() on boolean in /path-to-wp/wp-content/plugins/back-in-stock-notifier-for-woocommerce/includes/class-api.php:133 Stack trace: #0 /path-to-wp/wp-content/plugins/back-in-stock-notifier-for-woocommerce/includes/admin/class-post-type.php(199): CWG_Instock_API->display_product_name(18615) #1 /path-to-wp/wp-content/plugins/back-in-stock-notifier-for-woocommerce/includes/admin/class-post-type.php(178): CWG_Instock_Post_Type->_manage_columns('product', 18615) #2 /path-to-wp/wp-includes/class-wp-hook.php(286): CWG_Instock_Post_Type->manage_columns('product', 18615) #3 /path-to-wp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #4 /path-to-wp/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /path-to-wp/wp-admin/includes/class-wp-posts-list-table.php(1162): do_action('manage_cwginsto...', 'product', 18615) #6 /ho in /path-to-wp/wp-content/plugins/back-in-stock-notifier-for-woocommerce/includes/class-api.php on line 133

    Any clue as to why this is happening?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author CodeWooGeek

    (@codewoogeek)

    Hello there,

    Thanks for the heads up 🙂
    Looks like that error happened because of you deleted that product in your side, and hence recorded subscriber entry was trying to find that product name from product id where it is not exists in woocommerce, that’s why you received this error but don’t worry we made a fix, you will soon receive update notification in plugin dashboard.

    We will let you know shortly, once we update this fix in wordpress.org.

    [ Signature deleted ]

    • This reply was modified 6 years, 7 months ago by Jan Dembowski.
    Plugin Author CodeWooGeek

    (@codewoogeek)

    Hello there,

    For your information we have released version 1.6.1 just now which has a fix for your reported problem. Please check it out and let us know.

    If you feel our plugin is helpful please rate our plugin 🙂

    [ Signature deleted ]

    • This reply was modified 6 years, 7 months ago by Jan Dembowski.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error in product name’ is closed to new replies.