Support » Plugin: WP eCommerce » Getting Illegal String Offset when completing order

  • mtduff99

    (@mtduff99)


    We get a page with these two lines printed over and over when hitting submit on an order. The order goes through, but it appears to error out so people are submitting multiple orders.

    Warning: Illegal string offset ‘sales’ in /homepages/4/d371164879/htdocs/wp-content/plugins/wp-e-commerce/wpsc-includes/purchase-log.class.php on line 165

    Warning: Illegal string offset ‘earnings’ in /homepages/4/d371164879/htdocs/wp-content/plugins/wp-e-commerce/wpsc-includes/purchase-log.class.php on line 166

    Please help!

    https://wordpress.org/plugins/wp-e-commerce/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Edward

    (@edwardinstinct)

    Have you installed, upgraded, changed anything including the theme recently?

    Can you provide a link to the site?

    What versions do you have installed

    WordPress V
    WP eCommerce V
    Gold Cart V

    Thread Starter mtduff99

    (@mtduff99)

    Nothing has changed that I know of. Our site is sandpaperamerica.com. i will add that it’s not every order. I tried a few that went through ok today, but a majority didn’t.

    WP: 4.1.1
    WP eCommerce: 3.9.1
    Gold Cart: 2.9.7.5

    Thanks,
    Mitch

    Edward

    (@edwardinstinct)

    First… your Gold Cart is outdated and not compatible with the version of WPeC you’re using.

    Current Gold Cart version is 2.9.7.8

    That’s the only thing I can see being a problem from the outside.

    WordPress 4.2.2
    WP eCommerce 3.9.3
    Gold Cart for WP eCommerce 2.9.8
    The same problem:
    [Wed May 27 00:53:56 2015] [warn] [client 92.249.88.98] mod_fcgid: stderr: PHP Warning: Illegal string offset ‘sales’ in /home/adsiitad20984/nwork.com.ua/wp-content/plugins/wp-e-commerce/wpsc-includes/purchase-log.class.php on line 165, referer: http://www.nwork.com.ua/products-page-2/checkout/
    [Wed May 27 00:53:56 2015] [warn] [client 92.249.88.98] mod_fcgid: stderr: PHP Warning: Illegal string offset ‘earnings’ in /home/adsiitad20984/nwork.com.ua/wp-content/plugins/wp-e-commerce/wpsc-includes/purchase-log.class.php on line 166, referer: http://www.nwork.com.ua/products-page-2/checkout/

    Please help!

    Thread Starter mtduff99

    (@mtduff99)

    Hello,
    I worked with WP E-Commerce Support to resolve the issue. I was told they had to clear some meta data from the database to resolve the issue. I would recommend you get a support token to resolve the issue. You can reference my case.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Getting Illegal String Offset when completing order’ is closed to new replies.