Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23171

DFS Dispatcher does not accept arrays

    XMLWordPrintable

    Details

      Description

      When clearing legacy cache I'm getting the following

       php bin/php/ezcache.php --clear-all --purge
      Purging All cache: 
      Content view cachePHP Warning:  strstr() expects parameter 1 to be string, array given in /var/www/ezpublish5/ezpublish_legacy/extension/ezdfs-fsbackend-dispatcher/classes/ezdfsfilehandlerdfsregistry.php on line 58
      PHP Stack trace:
      PHP   1. {main}() /var/www/ezpublish5/ezpublish_legacy/bin/php/ezcache.php:0
      PHP   2. eZCacheHelper->purgeItems() /var/www/ezpublish5/ezpublish_legacy/bin/php/ezcache.php:149
      PHP   3. eZCacheHelper->internalClear() /var/www/ezpublish5/ezpublish_legacy/lib/ezutils/classes/ezcachehelper.php:36
      PHP   4. eZCache::clearItem() /var/www/ezpublish5/ezpublish_legacy/lib/ezutils/classes/ezcachehelper.php:129
      PHP   5. eZDFSFileHandler->purge() /var/www/ezpublish5/ezpublish_legacy/kernel/classes/ezcache.php:511
      PHP   6. eZDFSFileHandlerMySQLiBackend->_purgeByLike() /var/www/ezpublish5/ezpublish_legacy/kernel/private/classes/clusterfilehandlers/ezdfsfilehandler.php:1101
      PHP   7. eZDFSFileHandlerDFSDispatcher->delete() /var/www/ezpublish5/ezpublish_legacy/kernel/private/classes/clusterfilehandlers/dfsbackends/mysqli.php:393
      PHP   8. eZDFSFileHandlerDFSDispatcher->getHandler() /var/www/ezpublish5/ezpublish_legacy/extension/ezdfs-fsbackend-dispatcher/classes/ezdfsfilehandlerdfsdispatcher.php:115
      PHP   9. eZDFSFileHandlerDFSRegistry->getHandler() /var/www/ezpublish5/ezpublish_legacy/extension/ezdfs-fsbackend-dispatcher/classes/ezdfsfilehandlerdfsdispatcher.php:43
      PHP  10. strstr() /var/www/ezpublish5/ezpublish_legacy/extension/ezdfs-fsbackend-dispatcher/classes/ezdfsfilehandlerdfsregistry.php:58
      An unexpected error has occurred. Please contact the webmaster.
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              pedro.resende-obsolete@ez.no Pedro Resende (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: