You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Expected: I should be able to call get() twice, or get() then Post(), on a $PublisherAPI object.
// Actual: I get an error if I call get() twice on a $PublisherAPI object. If I create a second $PublisherAPI object for the second get() call, then it works.
Warning: curl_setopt(): 123 is not a valid cURL handle resource in /home/prod/yoko/build/migrate-to-sf-colo/target/dependencies/thirdparty-php-curl-class-tar.gz/src/Curl/Curl.php on line 887
Warning: curl_setopt(): 123 is not a valid cURL handle resource in /home/prod/yoko/build/migrate-to-sf-colo/target/dependencies/thirdparty-php-curl-class-tar.gz/src/Curl/Curl.php on line 887
Warning: curl_setopt(): 123 is not a valid cURL handle resource in /home/prod/yoko/build/migrate-to-sf-colo/target/dependencies/thirdparty-php-curl-class-tar.gz/src/Curl/Curl.php on line 887
Warning: curl_setopt(): 123 is not a valid cURL handle resource in /home/prod/yoko/build/migrate-to-sf-colo/target/dependencies/thirdparty-php-curl-class-tar.gz/src/Curl/Curl.php on line 887
Warning: curl_exec(): 123 is not a valid cURL handle resource in /home/prod/yoko/build/migrate-to-sf-colo/target/dependencies/thirdparty-php-curl-class-tar.gz/src/Curl/Curl.php on line 349
Warning: curl_errno(): 123 is not a valid cURL handle resource in /home/prod/yoko/build/migrate-to-sf-colo/target/dependencies/thirdparty-php-curl-class-tar.gz/src/Curl/Curl.php on line 350
Warning: curl_error(): 123 is not a valid cURL handle resource in /home/prod/yoko/build/migrate-to-sf-colo/target/dependencies/thirdparty-php-curl-class-tar.gz/src/Curl/Curl.php on line 352
Warning: curl_getinfo(): 123 is not a valid cURL handle resource in /home/prod/yoko/build/migrate-to-sf-colo/target/dependencies/thirdparty-php-curl-class-tar.gz/src/Curl/Curl.php on line 415
Notice: Undefined offset: 2 in /home/prod/yoko/build/migrate-to-sf-colo/target/dependencies/thirdparty-php-curl-class-tar.gz/src/Curl/Curl.php on line 428
Notice: Array
(
[code] =>
[message] =>
[response] =>
)
The text was updated successfully, but these errors were encountered:
same problem here. Second call fails ((delete -> post) ).
UPDATE:
The only way to overcome it is to use new object (new PublisherAPI) OR to populate "client" property of PublisherAPI object with new \Curl\Curl object
// Expected: I should be able to call get() twice, or get() then Post(), on a $PublisherAPI object.
// Actual: I get an error if I call get() twice on a $PublisherAPI object. If I create a second $PublisherAPI object for the second get() call, then it works.
Code:
Output:
The text was updated successfully, but these errors were encountered: