• Hello-

    I’m having many problems, but I’ll start with the color selector (variable, multiselect). If a customer forgets to select a color (leaving “Choose an option”) and adds the product to cart, it will throw an error “PHP Fatal error: Call to a member function getLabel() on null…” in the cart view. I understand that selection is null, but can we have it display a notice like “You must select an option”? Or maybe eliminate the null (“Choose an option”) from the top of the option list?

    Thanks
    Karl

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter KarlEngstrom

    (@karlengstrom)

    Hello-

    I worked on it over the weekend, eliminating plugins. There’s 20 plugins on this site including Jigoshop eCommerce & Premium Shipping for Jigoshop. I narrowed the on page errors to a conflict with Store Locator Plus 5.0.5.

    In the cart it displays: “PHP Fatal error: Call to a member function getLabel() on null in /******/******/*******/wp-content/plugins/jigoshop-ecommerce/src/Jigoshop/Entity/Product/Variable/Attribute.php on line 107”

    In checkout it displays: “Undefined index: type in /******/******/******/wp-content/plugins/jigoshop-ecommerce/templates/shop/checkout.php on line 43”

    If the color is selected the cart is OK but the checkout error still persists.

    Thought?
    TIA
    Karl

    Thread Starter KarlEngstrom

    (@karlengstrom)

    If the color isn’t selected, left on “Choose an option”, it passes a null to the cart & the cart then looks like this
    https://www.hagstornadobait.com/images/jigoshop-cart-error-190326.jpg

    Any help out there?

    Thread Starter KarlEngstrom

    (@karlengstrom)

    Looks like JS support doesn’t hit this forum any longer. Sending support request to see if I get response there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error in variable multiselect’ is closed to new replies.