Skip to content

Instantly share code, notes, and snippets.

@bdunogier
Created September 8, 2016 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdunogier/9fcd2e1760746f9379333b2b7d22bcc3 to your computer and use it in GitHub Desktop.
Save bdunogier/9fcd2e1760746f9379333b2b7d22bcc3 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<ErrorMessage media-type="application/vnd.ez.api.ErrorMessage+xml">
<errorCode>500</errorCode>
<errorMessage>Internal Server Error</errorMessage>
<errorDescription>Warning: trim() expects parameter 1 to be string, array given</errorDescription>
<trace>#0 [internal function]: Symfony\Component\Debug\ErrorHandler-&gt;handleError(2, 'trim() expects ...', '/Users/bdunogie...', 107, Array)
#1 /Users/bdunogier/ezplatform/vendor/tedivm/stash/src/Stash/Pool.php(107): trim(Array, '/')
#2 /Users/bdunogier/ezplatform/vendor/tedivm/stash-bundle/Service/CacheService.php(62): Stash\Pool-&gt;getItem(Array)
#3 /Users/bdunogier/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Cache/CacheServiceDecorator.php(60): Tedivm\StashBundle\Service\CacheService-&gt;getItem(Array)
#4 /Users/bdunogier/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Cache/UserHandler.php(196): eZ\Publish\Core\Persistence\Cache\CacheServiceDecorator-&gt;getItem('user', 'role', 'assignments', 'byGroup', 'inherited', 10)
#5 /Users/bdunogier/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/Repository.php(413): eZ\Publish\Core\Persistence\Cache\UserHandler-&gt;loadRoleAssignmentsByGroupId(10, true)
#6 /Users/bdunogier/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/Repository.php(478): eZ\Publish\Core\Repository\Repository-&gt;hasAccess('user', 'login')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment