statamic / cms

The core Laravel CMS Composer package
https://statamic.com
Other
4.06k stars 530 forks source link

Competing stache folder structure for groups #6124

Closed marcorieser closed 9 months ago

marcorieser commented 2 years ago

Bug description

It seems that the groups section in the control panel /cp/user-groups needs another stache file structure than the {{ users groups:in="whatever" }} tag.

After clearing the cache (php artisan optimize:clear), visiting the control panel /cp/user-groups and then visiting the page with the tag I get the following error: https://flareapp.io/share/95JkNpDm#F123

After clearing the cache (php artisan optimize:clear), visiting the page with the tag and then visiting the control panel /cp/user-groups I get the following error: https://flareapp.io/share/yPaYqraP#F96

How to reproduce

Installation You can clone this repo: https://github.com/marcorieser/statamic-grouperrors

Case 1

Case 2

Logs

[2022-05-31 18:10:08] local.ERROR: file_put_contents(/Users/marco/localweb/statamic-grouperrors/storage/framework/cache/data/stache/indexes/users/groups): Failed to open stream: Is a directory {"userId":"3f926b79-6634-44a3-b961-4ef8a27af2bd","exception":"[object] (ErrorException(code: 0): file_put_contents(/Users/marco/localweb/statamic-grouperrors/storage/framework/cache/data/stache/indexes/users/groups): Failed to open stream: Is a directory at /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:187)
[stacktrace]
#0 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'file_put_conten...', '/Users/marco/lo...', 187)
#1 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}(2, 'file_put_conten...', '/Users/marco/lo...', 187)
#2 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(187): file_put_contents('/Users/marco/lo...', '9999999999a:1:{...', 2)
#3 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php(77): Illuminate\\Filesystem\\Filesystem->put('/Users/marco/lo...', '9999999999a:1:{...', true)
#4 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php(200): Illuminate\\Cache\\FileStore->put('stache::indexes...', Array, 0)
#5 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(363): Illuminate\\Cache\\FileStore->forever('stache::indexes...', Array)
#6 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(418): Illuminate\\Cache\\Repository->forever('stache::indexes...', Array)
#7 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(337): Illuminate\\Cache\\CacheManager->__call('forever', Array)
#8 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Indexes/Index.php(104): Illuminate\\Support\\Facades\\Facade::__callStatic('forever', Array)
#9 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Indexes/Index.php(92): Statamic\\Stache\\Indexes\\Index->cache()
#10 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Indexes/Index.php(74): Statamic\\Stache\\Indexes\\Index->update()
#11 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Stores/Store.php(45): Statamic\\Stache\\Indexes\\Index->load()
#12 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Query/UserQueryBuilder.php(33): Statamic\\Stache\\Stores\\Store->index('groups')
#13 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Query/UserQueryBuilder.php(23): Statamic\\Stache\\Query\\UserQueryBuilder->getKeysWithWhere(Array)
#14 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(775): Statamic\\Stache\\Query\\UserQueryBuilder->Statamic\\Stache\\Query\\{closure}(NULL, Array, 0)
#15 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Query/UserQueryBuilder.php(26): Illuminate\\Support\\Collection->reduce(Object(Closure))
#16 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Query/UserQueryBuilder.php(12): Statamic\\Stache\\Query\\UserQueryBuilder->getKeysWithWheres(Array)
#17 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Query/Builder.php(26): Statamic\\Stache\\Query\\UserQueryBuilder->getFilteredKeys()
#18 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Tags/Concerns/GetsQueryResults.php(25): Statamic\\Stache\\Query\\Builder->get()
#19 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Tags/Users.php(30): Statamic\\Tags\\Users->results(Object(Statamic\\Stache\\Query\\UserQueryBuilder))
#20 [internal function]: Statamic\\Tags\\Users->index()
#21 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/View/Antlers/Language/Runtime/NodeProcessor.php(1381): call_user_func(Array)
#22 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/View/Antlers/Language/Runtime/NodeProcessor.php(676): Statamic\\View\\Antlers\\Language\\Runtime\\NodeProcessor->reduce(Array)
#23 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/View/Antlers/Language/Runtime/RuntimeParser.php(381): Statamic\\View\\Antlers\\Language\\Runtime\\NodeProcessor->render(Array)
#24 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/View/Antlers/Language/Runtime/RuntimeParser.php(742): Statamic\\View\\Antlers\\Language\\Runtime\\RuntimeParser->renderText('{{ users groups...', Array)
#25 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/View/Antlers/Engine.php(97): Statamic\\View\\Antlers\\Language\\Runtime\\RuntimeParser->parseView('/Users/marco/lo...', '{{ users groups...', Array)
#26 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/View/View.php(139): Statamic\\View\\Antlers\\Engine->get('/Users/marco/lo...', Array)
#27 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#28 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#29 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/View/View.php(96): Illuminate\\View\\View->render()
#30 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Responses/DataResponse.php(155): Statamic\\View\\View->render()
#31 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Responses/DataResponse.php(46): Statamic\\Http\\Responses\\DataResponse->contents()
#32 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Structures/Page.php(384): Statamic\\Http\\Responses\\DataResponse->toResponse(Object(Illuminate\\Http\\Request))
#33 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(815): Statamic\\Structures\\Page->toResponse(Object(Illuminate\\Http\\Request))
#34 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(802): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Statamic\\Structures\\Page))
#35 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Statamic\\Structures\\Page))
#36 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#37 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/StaticCaching/Middleware/Cache.php(34): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\StaticCaching\\Middleware\\Cache->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/AuthGuard.php(14): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\AuthGuard->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/Localize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\Localize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/HandleToken.php(13): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\HandleToken->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/StacheLock.php(29): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\StacheLock->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#48 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#49 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#50 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#51 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#52 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#53 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#54 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure))
#55 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#63 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#64 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#65 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#66 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#67 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/DisableFloc.php(18): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#68 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\DisableFloc->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#69 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/CheckMultisite.php(14): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#70 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\CheckMultisite->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#71 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/CheckComposerJsonScripts.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#72 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\CheckComposerJsonScripts->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#73 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/PoweredByHeader.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#74 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\PoweredByHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#75 /Users/marco/localweb/statamic-grouperrors/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#76 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Barryvdh\\Debugbar\\Middleware\\InjectDebugbar->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#77 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#78 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#79 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#80 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#81 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#82 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#83 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#84 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#85 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#86 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#87 /Users/marco/localweb/statamic-grouperrors/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#88 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#89 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#90 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#91 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#92 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#93 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#94 /Users/marco/localweb/statamic-grouperrors/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#95 /Users/marco/.composer/vendor/laravel/valet/server.php(234): require('/Users/marco/lo...')
#96 {main}
"} 
[2022-05-31 18:10:51] local.ERROR: file_put_contents(/Users/marco/localweb/statamic-grouperrors/storage/framework/cache/data/stache/indexes/users/groups/group_1): Failed to open stream: No such file or directory {"userId":"3f926b79-6634-44a3-b961-4ef8a27af2bd","exception":"[object] (ErrorException(code: 0): file_put_contents(/Users/marco/localweb/statamic-grouperrors/storage/framework/cache/data/stache/indexes/users/groups/group_1): Failed to open stream: No such file or directory at /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:187)
[stacktrace]
#0 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'file_put_conten...', '/Users/marco/lo...', 187)
#1 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}(2, 'file_put_conten...', '/Users/marco/lo...', 187)
#2 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(187): file_put_contents('/Users/marco/lo...', '9999999999a:1:{...', 2)
#3 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php(77): Illuminate\\Filesystem\\Filesystem->put('/Users/marco/lo...', '9999999999a:1:{...', true)
#4 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php(200): Illuminate\\Cache\\FileStore->put('stache::indexes...', Array, 0)
#5 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(363): Illuminate\\Cache\\FileStore->forever('stache::indexes...', Array)
#6 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(418): Illuminate\\Cache\\Repository->forever('stache::indexes...', Array)
#7 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(337): Illuminate\\Cache\\CacheManager->__call('forever', Array)
#8 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Indexes/Index.php(104): Illuminate\\Support\\Facades\\Facade::__callStatic('forever', Array)
#9 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Indexes/Index.php(92): Statamic\\Stache\\Indexes\\Index->cache()
#10 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Indexes/Index.php(74): Statamic\\Stache\\Indexes\\Index->update()
#11 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Stores/Store.php(45): Statamic\\Stache\\Indexes\\Index->load()
#12 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Query/UserQueryBuilder.php(33): Statamic\\Stache\\Stores\\Store->index('groups/group_1')
#13 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Query/UserQueryBuilder.php(23): Statamic\\Stache\\Query\\UserQueryBuilder->getKeysWithWhere(Array)
#14 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(775): Statamic\\Stache\\Query\\UserQueryBuilder->Statamic\\Stache\\Query\\{closure}(NULL, Array, 0)
#15 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Query/UserQueryBuilder.php(26): Illuminate\\Support\\Collection->reduce(Object(Closure))
#16 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Query/UserQueryBuilder.php(12): Statamic\\Stache\\Query\\UserQueryBuilder->getKeysWithWheres(Array)
#17 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Stache/Query/Builder.php(26): Statamic\\Stache\\Query\\UserQueryBuilder->getFilteredKeys()
#18 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Auth/UserGroup.php(68): Statamic\\Stache\\Query\\Builder->get()
#19 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Controllers/CP/Users/UserGroupsController.php(27): Statamic\\Auth\\UserGroup->users()
#20 [internal function]: Statamic\\Http\\Controllers\\CP\\Users\\UserGroupsController->Statamic\\Http\\Controllers\\CP\\Users\\{closure}(Object(Statamic\\Auth\\File\\UserGroup), 'group_1')
#21 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Collections/Arr.php(558): array_map(Object(Closure), Array, Array)
#22 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(723): Illuminate\\Support\\Arr::map(Array, Object(Closure))
#23 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Controllers/CP/Users/UserGroupsController.php(33): Illuminate\\Support\\Collection->map(Object(Closure))
#24 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Statamic\\Http\\Controllers\\CP\\Users\\UserGroupsController->index(Object(Illuminate\\Http\\Request))
#25 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('index', Array)
#26 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Route.php(261): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(Statamic\\Http\\Controllers\\CP\\Users\\UserGroupsController), 'index')
#27 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Route.php(204): Illuminate\\Routing\\Route->runController()
#28 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\\Routing\\Route->run()
#29 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#30 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/RequireStatamicPro.php(17): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\RequireStatamicPro->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/CP/CountUsers.php(18): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#33 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\CP\\CountUsers->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/CP/Localize.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#35 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\CP\\Localize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#36 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/CP/Authorize.php(25): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#37 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\CP\\Authorize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#38 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/CP/AddToasts.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#39 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\CP\\AddToasts->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#40 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/CP/AuthGuard.php(14): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\CP\\AuthGuard->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/CP/ContactOutpost.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\CP\\ContactOutpost->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#45 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#46 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#47 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure))
#52 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#53 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#54 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/SwapExceptionHandler.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\SwapExceptionHandler->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#60 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#61 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#62 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#63 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#64 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#65 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#66 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/DisableFloc.php(18): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\DisableFloc->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/CheckMultisite.php(14): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\CheckMultisite->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/CheckComposerJsonScripts.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\CheckComposerJsonScripts->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /Users/marco/localweb/statamic-grouperrors/vendor/statamic/cms/src/Http/Middleware/PoweredByHeader.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Statamic\\Http\\Middleware\\PoweredByHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#74 /Users/marco/localweb/statamic-grouperrors/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#75 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Barryvdh\\Debugbar\\Middleware\\InjectDebugbar->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#76 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#77 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#78 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#79 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#80 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#81 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#82 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#83 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#84 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#85 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#86 /Users/marco/localweb/statamic-grouperrors/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#87 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#88 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#89 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#90 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#91 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#92 /Users/marco/localweb/statamic-grouperrors/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#93 /Users/marco/localweb/statamic-grouperrors/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#94 /Users/marco/.composer/vendor/laravel/valet/server.php(234): require('/Users/marco/lo...')
#95 {main}
"}

Versions

Statamic 3.3.12 Pro Laravel 9.15.0 PHP 8.1.6 No addons installed

Installation

Fresh statamic/statamic site via CLI

Antlers Parser

runtime (new)

Additional details

No response

ryanmitchell commented 2 years ago

I think this is the same as #2498

marcorieser commented 2 years ago

I think this is the same as #2498

I'm not sure about that. The tag is working as expected but it's not possible to have the tag and the group overview in cp working at the same time because of the stache structure.

marcorieser commented 2 years ago

As a workaround I removed the filter on {{ users }} and check the group inside inside the loop. As long as there are not many users this works well. Now I can access the group overview in the cp 👍🏻

{{ users }}
  {{ if in_participants }}
    ...
  {{ /if }}
{{ /users }}
ryanmitchell commented 2 years ago

@marcorieser definitely related :) - see https://github.com/statamic/cms/pull/6131 and let me know if it works for you?

marcorieser commented 2 years ago

@ryanmitchell Your PR seems to do the trick. Thank you so much!