Jump to content

1 click upgrade not working | 1.7.2.0 to 1.7.2.1


Recommended Posts

I have the same problem ERROR 500 after upgrade usign 1 click update.

 

My hosting provider send me this error, i still cant upgrade

 

[01-Sep-2017 12:13:52 America/Santiago] PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function refreshCaCertFile() on string in /home/monichig/prestashop.monichiganuniversity.com/src/PrestaShopBundle/Service/DataProvider/Marketplace/ApiClient.php:62
Stack trace:

0 /home/monichig/prestashop.monichiganuniversity.com/app/cache/prod/appProdProjectContainer.php(2591): PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient->setSslVerification('/home/monichig/...')

1 /home/monichig/prestashop.monichiganuniversity.com/app/bootstrap.php.cache(2248): appProdProjectContainer->getPrestashop_Addons_ClientApiService()

2 /home/monichig/prestashop.monichiganuniversity.com/app/cache/prod/appProdProjectContainer.php(2675): Symfony\Component\DependencyInjection\Container->get('prestashop.addo...')

3 /home/monichig/prestashop.monichiganuniversity.com/app/bootstrap.php.cache(2248): appProdProjectContainer->getPrestashop_Core_Admin_DataProvider_AddonsInterfaceService()

#4 /home/monichig/prestashop.monichiganuniversity.com/app/ in /home/monichig/prestashop.monichiganuniversity.com/app/bootstrap.php.cache on line 3225

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

I hacked around the issue by disabling the function:

 

in /src/PrestaShopBundle/Service/DataProvider/Marketplace/ApiClient.php line 63

I simply inserted "return;" before the offending call to refreshCaCertFile().

 

Call to a member function refreshCaCertFile() on null in /var/www/shop/src/PrestaShopBundle/Service/DataProvider/Marketplace/ApiClient.php:63

 

I realize this is a dirty hack disabling ssl verification of the marketplace or something so be aware of that when you hack around it.

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...