HI, I have tried using the plugin in several different WP versions but I ended up with the same issue.
After enabling the plugin and testing the website, the site went “blank”.
I troubleshooted the issue and got the message:
Fatal error: __clone method called on non-object in /xx/xx/xx/xx/wp-content/plugins/simpleshop/admin/php/carts/current_cart.php on line 51
Can someone help to find a solution for that?
Tks
]]>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!
]]>