bluevisiontec / GoogleShoppingApi

Magento Module GoogleShoppingApi v2
Open Software License 3.0
69 stars 45 forks source link

Fatal error: Class 'Google_Auth_AssertionCredentials' not found #86

Closed guztavoalves closed 5 years ago

guztavoalves commented 8 years ago

I am getting the following error when accessing "Manage Items":

Fatal error: Class 'Google_Auth_AssertionCredentials' not found in /home/garotafi/public_html/app/code/community/BlueVisionTec/GoogleShoppingApi/Model/GoogleShopping.php on line 116

I use Magento 1.9.2.2 and Google API google-api-php-client-2.0.

screenshot_1

screenshot_2

sickdaflip commented 7 years ago

works only with google client api <= 1.1.7

jmmeijer commented 6 years ago

I'm also experiencing the same issue. Updating the Google shopping php client to 1.1.7 didn't solve it. It seems it has to do with the Autoloader not being to able to find it as described in other issues. Someone has fixed a similar issue with moving the Google-folder to the Magento root-folder and editing the path in /app/code/community/BlueVisionTec/GoogleShoppingApi/Model/GoogleShopping.php

https://www.sitepoint.com/community/t/warning-include-google-client-php-failed-to-open-stream/206670

rvelhote commented 6 years ago

@guztavoalves PR #94 has changes related to this issue. It will work with Google API Client V2.