[Fixed] Call to undefined function GuzzleHttp\Handler\curl_reset() Error

I operate a couple of job portals that accept online applications. The applications are sent directly to the employer's email. One day, all of the sites cannot send any applications. I was receiving the following error:

Fatal error: Call to undefined function GuzzleHttp\Handler\curl_reset() in /home3/boyiboyi/public_html/wp-content/plugins/gmail-smtp/google-api-php-client/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 78

I am using a 3rd party SMTP management plugin called Gmail SMTP Plugin so I contacted them. They checked the error and said everything was fine on their side. They suggested updating my PHP version.

Solution:

So, I went to the CPanel dashboard in my Hostgator hosting and updated the PHP version from 5.4 to 5.6.

It fixed the error for all of my sites.

How to update the PHP version in Hostgator:

1. Login to your customer portal.
2. Go to Hosting and click on Hosting dashboard
3. Click on manage databases and click Home on the newly opened tab. The classic Cpanel interface will appear.
4. Scroll down to the Advanced section and click on 'PHP Configuration'


5. Update your PHP version from 5.4 to 5.6


Comments

  1. hello sir ? encounter ko po to ngaayon :D with gmail php login . nag kaka error siya sana ma fix ko today :D thanks sa post

    ReplyDelete
    Replies
    1. Hello, nafix mo bah? Let us know if you have a different solution. Thanks

      Delete

Post a Comment

Popular posts from this blog

Honda Beat Scooter Review

Claim Your Google Adsense Earnings Through Unionbank of the Philippines Wire Transfer