Support » Plugins » Fatal error msg on pages with eShop add to cart

  • Hey WP wizards,
    Searched this forum extensively to find an answer and tried a few suggestions such as deactivating and reactivating plugins etc… yet error persists:

    Fatal error: Cannot use string offset as an array in /home/starr0/public_html/wp-content/plugins/eshop/eshop-add-cart.php on line 117

    Is it possible 3.0 did not fully install or install improperly? Pages do appear when eShop is deactivated, though we can’t really sell anything when that happens, hahahah! Thanks for any an all help!

    http://www.starrlabs.com

Viewing 13 replies - 1 through 13 (of 13 total)
  • try reinstalling the plugin. Easiest method is to delete the plugin and install a fresh copy.

    If that doesn’t fix it, I’ll have to do some checking, but I know I can’t replicate the issue.

    Thread Starter starrlabs

    (@starrlabs)

    Hmmmm… OK, I’ll try that out. In the meantime, I simply tried deactivating and reactivating the plugin again, and now it works on some pages but not here: http://www.starrlabs.com/products/ztars

    Thanks for the quick response.

    Take a look at the product details section – can you create a screenshot of that portion and post a link to it, I might be able to spot if something is screwy.

    Thread Starter starrlabs

    (@starrlabs)

    Sorry for the confusion, but what ‘product details section’ are you referring to? And do you want a screenshot of code or the actual page once I figure out what we’re talking about here?

    sorry, on the edit page for that post/page.

    The product entry section, with all the product info.

    Thread Starter starrlabs

    (@starrlabs)

    Let me know if this is what you need. LINK I don’t see a lot of info here. Seems to point to all our ztar pages and collate them into one long page… or somethin’ like that.

    I had a similar problem (identically, actually) though it wasn’t just an update to 3.0 that caused it, but a movement of the database.

    If you go to the administrative backend and down to the eShop settings, and the “base” you’ll get a page for of “foreach” errors too. At least I did.

    Anyway, I ended up just manually reentering all the prices for my products, and that did the trick.

    One thing that I see from your screenshot starrlabs is that the eShop fields are not there. Was this image while the eShop was activated?

    yep the image doesn’t include the product data section.

    Thread Starter starrlabs

    (@starrlabs)

    Yes, the screenshot was taken when the eShop was activated, but I agree that it doesn’t really show much of anything…weird. Also, it only seems to happen on these 2 pages right now: http://www.starrlabs.com/products
    http://www.starrlabs.com/products/ztars

    I’ve re-entered prices on every page and that seemed to help shorter pages come back live.

    It is supposed to pull all of our individual ztar pages and collate them into one long ztar product page with pull down add-to-cart menus after each product. Kind of like what you see on this page:

    http://www.starrlabs.com/products/ztars/mini-z-series

    PS. I just took over this site and the original builder is nowhere to be found.

    Thanks for the help thus far!

    Looks like things are working correctly now?

    Thread Starter starrlabs

    (@starrlabs)

    Yes indeed, all is good (at least workable)! I had to manually re-enter all of the eshop fields i.e. price, style, shipping, sku #’s, etc… Thanks for all the info and help!

    After adding a second item to the cart and wanting to proceed to Paypal I got this:
    Fatal error: Cannot use string offset as an array in /home/amos/public_html/wp-content/plugins/eshop/cart-functions.php on line 1024

    When trying to delete the second item from the cart, I got this:
    Fatal error: Cannot use string offset as an array in /home/amos/public_html/wp-content/plugins/eshop/cart-functions.php on line 2090

    Emptying the cart and re-adding the items back, “fixed” the problem but I wonder what caused this problem in the first place as I’m sure this problem will happen again.

    (I’m using version 6.2.8 with WP 3.1.2)
    Thanks

    not connected to the issue from 10 months ago, please start a new thread.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Fatal error msg on pages with eShop add to cart’ is closed to new replies.