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:
Changing line 17 to:
if ( isset ( $current_data[$key] ) && is_array($current_data[$key]) )
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?
- The topic ‘[WP-e-commerce-google-product-feed] Fatal error on variation update’ is closed to new replies.