Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi Denis Lam one of the plugin developers will assess your code further.

    Thank you

    Plugin Author mra13

    (@mra13)

    Have you upgraded the plugin to the latest version? That line of code is not there so I think you are using an older version.

    Thread Starter Denis Lam

    (@spiffyd)

    I am using latest version. Just verified, PHP notice still occurs. It’s on Line 85 of wp_shopping_cart.php in the reset_wp_cart() function.

    Line 85: $products = $_SESSION['simpleCart']

    Possible solution… simply add this:

    if (!isset($_SESSION['simpleCart'])) { $_SESSION['simpleCart'] = ''; }

    Plugin Author mra13

    (@mra13)

    Thank you. I have applied a fix for this. It will be available in the next version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Notice: Undefined Index: simpleCart’ is closed to new replies.