Odd parsing error on install
-
Hi,
I get this error on install after creating a page with [cart] and a product with the default [add_to_cart id=6]:
Parse error: syntax error, unexpected ‘[‘, expecting ‘,’ or ‘;’ in /home/xyz/public_html/shop/wp-content/plugins/simpleshop/public/php/products/shortcodes/product.php on line 55
Here’s lines 53-56 in product.php:
Add To Cart
<span class=”price_wrapper”>
($<span class=”price”><?php echo SimpleShop::price_for_product($attrs)[“clean_price”]; ?></span>)
</span>How do I fix this error?
Also curious if/when 2.0 comes out. Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Odd parsing error on install’ is closed to new replies.