WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [WP-e-commerce-google-product-feed] Fatal error on variation update

[Resolved] [WP-e-commerce-google-product-feed] Fatal error on variation update

  • Hi,

    After installing the google products feed from wp-ecommerce, when updating a product variation, say, after changing its featured image. I receive the following error:
    Fatal error: Cannot unset string offsets in /home/mysite/blah/blah/plugins/wp-e-commerce-google-product-feed/wpec-gpf-admin.php on line 277.

    Here’s the function that’s breaking:
    http://pastebin.com/NdMTZ9Vi

    Changing line 17 to:
    if ( isset ( $current_data[$key] ) && is_array($current_data[$key]) )

    and

    line 18 to $current_data[$key] = ”;

    Results in no error.

    I’d prefer not to be hacking a plugin directly or even extending it and modifying the functionality obviously. Deactivating the plugin resolves the issue as well.

    Has anyone else experience this error and resolved it through settings?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [WP-e-commerce-google-product-feed] Fatal error on variation update’ is closed to new replies.