Skip to content

Issue with callable in Common\Collection\ResourceIterator #249

@wturnerharris

Description

@wturnerharris

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions