This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I shall create a new post for this error since the post the I replied on does not have an obvious Subject for this issue.
"Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATION'" on line 444 of /var/www/html/vendor/october/rain/src/Network/Http.php"
This error is thrown when I try to look for updates or install a new plugin at the backend settings.
And when I get to vim Http.php on line 444 it shows the following function
public function noRedirect()
{
$this->setOption(CURLOPT_FOLLOWLOCATION, false);
return $this;
}
Please help, my website cannot go further without installing good plugins.
More information about the website. it is now on the server that can be accessed on limitation of IP. would it be one of the reason why it is throwing such error?
Last updated
Thats for your response dipesh24003, but why would it happen? Is cURL a must for using October? If so isn't it followed with October upon installation?
I found a solution, Here are the steps to take:
On the SSH server
$ apt update
$ sudo apt install php(Your_php_version)-curl
$ service apache2 restart
Thank you!
1-5 of 5