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
I was trying to sync objects with the uploadDirectory method of the container. In doing so, I caught the below error. Removing callable hinting prevented this issue and allowed me to sync, but I'm not sure if that will create other issues.
Catchable fatal error: Argument 1 passed to OpenCloud\Common\Collection\ResourceIterator::search() must be an instance of OpenCloud\Common\Collection\callable, instance of Closure given, called in /vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Upload/DirectorySync.php on line 118 and defined in /vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Collection/ResourceIterator.php on line 217