Support » Plugin: PPOM for WooCommerce » Doesn’t work with latest update

  • Resolved shemakeswebsites


    Hello, I recently updated to WP 5.0.2 and the most recent version of my WooCommerce. Since then, this plugin produces a fatal error and does not work. Can you please look into this?

    Error attached:
    2019-01-04T02:13:18+00:00 CRITICAL Uncaught Error: Call to a member function get_type() on string in /nas/content/live/devhs/wp-content/plugins/woocommerce-product-addon/inc/functions.php:156
    Stack trace:
    #0 /nas/content/live/devhs/wp-content/plugins/woocommerce-product-addon/inc/admin.php(412): ppom_get_product_id(‘created-to-heal…’)
    #1 [internal function]: ppom_admin_bar_menu(Object(WP_Admin_Bar))
    #2 /nas/content/live/devhs/wp-includes/class-wp-hook.php(286): call_user_func_array(‘ppom_admin_bar_…’, Array)
    #3 /nas/content/live/devhs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #4 /nas/content/live/devhs/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
    #5 /nas/content/live/devhs/wp-includes/admin-bar.php(83): do_action_ref_array(‘admin_bar_menu’, Array)
    #6 [internal function]: wp_admin_bar_render(”)
    #7 /nas/content/live/devhs/wp-includes/class-wp-hook.php(286): call_user_func_array(‘wp_admin_bar_re…’, Array)
    #8 /nas/content/live/devhs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Arra in /nas/content/live/devhs/wp-content/plugins/woocommerce-product-addon/inc/functions.php on line 156

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author N-Media



    can you please tell me where you see error? means which page? frontend or backend?

    The front end. With this plugin enabled the product pages won’t load.

    Plugin Author N-Media


    Ok I see, well I have added a check to see if product is not loaded then do not call get_id() function and it will be fixed in next version 16.4 in couple of days.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Doesn’t work with latest update’ is closed to new replies.