Author Topic: ps_product.php error when adding to cart  (Read 1261 times)

terryrw

  • Beginner
  • *
  • Posts: 5
ps_product.php error when adding to cart
« on: September 01, 2008, 06:24:19 am »
Hello,

I am trying to setup my Virtuemart shop and running into a snag. I created a couple of test products and my issue begins when I attempt to add a product to my cart. The notice window pops open and I click the cart button. This is what I get.

Fatal error: Cannot use string offset as an array in /home/huntingh/public_html/administrator/components/com_virtuemart/classes/ps_product.php on line 1097

I open the ps_product.php file and go to line 1097
>>>>  $GLOBALS['product_info'][$product_id][$key] = $value; <<<<<<

Any suggestions of what my problem could be?