I haven't had any problems but I moved to a new server and really haven't check it out for a while but now when I try to add a product to google shopping I get the following error:
Recoverable Error: Object of class Mage_Catalog_Model_Resource_Eav_Attribute could not be converted to string in /home/xxxxxxx/public_html/app/code/community/BlueVisionTec/GoogleShoppingApi/Model/Attribute/GoogleProductCategory.php on line 30
Here is the code the error is pointing to:
public function convertAttribute($product, $shoppingProduct)
{
// get category from product attribute
-- line 30 here --> Mage::log(__LINE__.$product->getResource()->getAttribute('google_shopping_category'));
$value = $product->getResource()->getAttribute('google_shopping_category')
->getFrontend()->getValue($product);
$value = preg_replace('/\d+ /','',$value);
$shoppingProduct->setGoogleProductCategory($value);
return $shoppingProduct;
}
I've tried many things (mostly guesses) searched on Google and still can't seem to fix this error. Any help would be very much appreciated.