General developer forum

using add_to_curl_request

Picture of Tzahi Ben Artzi
using add_to_curl_request

Hello, I am trying to use add_to_curl_request with a file.

I have the following code:

$ch = curl_init($url);

And i get:

Warning:  Attempt to modify property of non-object in /var/www/html/moodle/lib/filestorage/file_system.php on line 365

Does anyone know why?

Average of ratings: -