Support » Plugin: MarketPress - WordPress eCommerce » Fatal error Cannot use string offset

  • Resolved Urugzo

    (@urugzo)


    I cannot enter coupon codes. As soon as I click the coupon tab in store settings I get the message:
    Fatal error: Cannot use string offset as an array in /public_html/handpaintedsilkscarves.com.au/wp-content/plugins/marketpress/marketpress.php on line 5607

    Line 5607 $discount = (isset($coupons[$new_coupon_code][‘discount’]) && $coupons[$new_coupon_code][‘discount_type’] == ‘amt’) ? round($coupons[$new_coupon_code][‘discount’], 2) : $coupons[$new_coupon_code][‘discount’];

    I’m running WordPress 3.4.2 and Marketpress 2.6.2

    Hope you can help.

    Cheers, M.

    http://wordpress.org/extend/plugins/wordpress-ecommerce/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error Cannot use string offset’ is closed to new replies.