Skip to content

Instantly share code, notes, and snippets.

@VTacius
Last active January 4, 2017 20:01
Show Gist options
  • Save VTacius/0090fabff1f5c371889b2540460cbf33 to your computer and use it in GitHub Desktop.
Save VTacius/0090fabff1f5c371889b2540460cbf33 to your computer and use it in GitHub Desktop.
Error en owncloud: "rgument 2 passed to OC\\Files\\Cache\\Shared_Cache::__construct() must implement interface OCP\\Files\\Storage\\IStorage, null given"

Ante el error al acceder a una cuenta owncloud

{"reqId":"7tsfvpoYA9\/ootKw4y1z","remoteAddr":"192.168.6.169","app":"PHP","message":"Argument 2 passed to OC\\Files\\Cache\\Shared_Cache::__construct() must implement interface OCP\\Files\\Storage\\IStorage, null given, called in \/var\/www\/owncloud\/apps\/files_sharing\/lib\/sharedstorage.php on line 574 and defined at \/var\/www\/owncloud\/apps\/files_sharing\/lib\/cache.php#63","level":3,"time":"2017-01-04T19:42:07+00:00"}
{"reqId":"7tsfvpoYA9\/ootKw4y1z","remoteAddr":"192.168.6.169","app":"PHP","message":"Argument 3 passed to OC\\Files\\Cache\\Shared_Cache::__construct() must implement interface OCP\\Files\\Cache\\ICacheEntry, null given, called in \/var\/www\/owncloud\/apps\/files_sharing\/lib\/sharedstorage.php on line 574 and defined at \/var\/www\/owncloud\/apps\/files_sharing\/lib\/cache.php#63","level":3,"time":"2017-01-04T19:42:07+00:00"}
{"reqId":"7tsfvpoYA9\/ootKw4y1z","remoteAddr":"192.168.6.169","app":"PHP","message":"Call to a member function getCache() on a non-object at \/var\/www\/owncloud\/apps\/files_sharing\/lib\/cache.php#67","level":3,"time":"2017-01-04T19:42:07+00:00"}

Borrar oc_filecache debería bastar

delete from oc_filecache;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment