• Resolved cjay554

    (@cjay554)


    No idea where to begin with this, i tried uninstalling other abandoned cart plugin thinking its conflict but still shows this, installed from zip and from WP plugin store, still same error, am i missing a dependency or is it a conflict?

    This plugin simply activates with this error on every page all over the place, obvious PHP compilation error not being able to find member functions or probing null values when it expects actual values… any guidance or help?

    Been wanting a abandoned cart app that can display a pop up to the user efficiently, this seemed like the right app outside of this error! halp plz thnx <3

    Fatal error: Uncaught Error: Call to a member function get_customer_id() on null in /home/cherpakb/public_html/cookit.bg/wp-content/plugins/woo-save-abandoned-carts/public/class-cartbounty-public.php:457 Stack trace: #0 /home/cherpakb/public_html/cookit.bg/wp-includes/class-wp-hook.php(287): CartBounty_Public->update_logged_customer_id(Object(WC_Checkout)) #1 /home/cherpakb/public_html/cookit.bg/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #2 /home/cherpakb/public_html/cookit.bg/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/cherpakb/public_html/cookit.bg/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(62): do_action(‘woocommerce_che…’, Object(WC_Checkout)) #4 /home/cherpakb/public_html/cookit.bg/wp-content/themes/jupiter/framework/admin/customizer/woocommerce/hooks/checkout.php(15): WC_Checkout::instance() #5 /home/cherpakb/public_html/cookit.bg/wp-content/themes/jupiter/framework/admin/customizer/class-mk-customizer.php(53): require_once(‘/home/cherpakb/…’) #6 in /home/cherpakb/public_html/cookit.bg/wp-content/plugins/woo-save-abandoned-carts/public/class-cartbounty-public.php on line 457

Viewing 1 replies (of 1 total)
  • Plugin Author Streamline

    (@streamlinestar)

    Hi @cjay554
    Really sorry to hear this however we are here to help you ??

    The line you are referring in the code looks like this:

    $session_id = WC()->session->get_customer_id();

    This function get_customer_id() is a built in WooCommerce function that should be able to return the ID of the user that has been currently signed in the WooCommerce and then automatically save the shopping cart as soon there is anything added to the cart.

    Sounds like there is another plugin that is messing this up a bit here and preventing to get the customer’s ID from the WooCommerce session. Could you please try disabling all of your plugins except WooCommerce and CartBounty and then see if this error still persists?

    Kind thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Full site error on install/activate’ is closed to new replies.