We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Statamic 5.0, using the is_external_url modifier returns TypeError: Illegal offset type in isset or empty
is_external_url
<a href="{{ link }}" target="{{ (link | is_external_url) ? '_blank' : '_self' }}" > Link Text </a>
[2024-05-09 16:16:36] local.ERROR: Illegal offset type in isset or empty {"userId":"629be3ea-f10a-45e9-bdaf-4ce656a3067d","exception":"[object] (TypeError(code: 0): Illegal offset type in isset or empty at /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Facades/Endpoint/URL.php:226) [stacktrace] #0 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(357): Statamic\\Facades\\Endpoint\\URL->isExternal(Object(Statamic\\Fieldtypes\\Link\\ArrayableLink)) #1 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Modifiers/CoreModifiers.php(1266): Illuminate\\Support\\Facades\\Facade::__callStatic('isExternal', Array) #2 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Modifiers/Modify.php(197): Statamic\\Modifiers\\CoreModifiers->isExternalUrl(Object(Statamic\\Fieldtypes\\Link\\ArrayableLink), Array, Array) #3 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Modifiers/Modify.php(154): Statamic\\Modifiers\\Modify->runModifier('is_external_url', Array) #4 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Modifiers/Modify.php(131): Statamic\\Modifiers\\Modify->modify('is_external_url', Array) #5 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/ModifierManager.php(121): Statamic\\Modifiers\\Modify->__call('is_external_url', Array) #6 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(1336): Statamic\\View\\Antlers\\Language\\Runtime\\ModifierManager::evaluate(Object(Statamic\\Fields\\Value), Object(Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment), Object(Statamic\\View\\Antlers\\Language\\Nodes\\Modifiers\\ModifierChainNode), Array) #7 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(1352): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->applyModifiers(Object(Statamic\\Fields\\Value), Object(Statamic\\View\\Antlers\\Language\\Nodes\\Modifiers\\ModifierChainNode)) #8 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(1593): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->adjustValue(Object(Statamic\\Fields\\Value), Object(Statamic\\View\\Antlers\\Language\\Nodes\\VariableNode)) #9 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(947): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->getValue(Object(Statamic\\View\\Antlers\\Language\\Nodes\\VariableNode)) #10 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(1564): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->process(Array) #11 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(947): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->getValue(Object(Statamic\\View\\Antlers\\Language\\Nodes\\Structures\\SemanticGroup)) #12 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(321): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->process(Array) #13 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(352): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->evaluate(Array) #14 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(1197): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->evaluateBool(Array) #15 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(826): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->evaluateTernaryGroup(Object(Statamic\\View\\Antlers\\Language\\Nodes\\Structures\\TernaryCondition)) #16 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(295): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->process(Array) #17 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/Sandbox/Environment.php(318): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->processStatements(Array) #18 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/NodeProcessor.php(1914): Statamic\\View\\Antlers\\Language\\Runtime\\Sandbox\\Environment->evaluate(Array) #19 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/NodeProcessor.php(750): Statamic\\View\\Antlers\\Language\\Runtime\\NodeProcessor->reduce(Array) #20 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/RuntimeParser.php(381): Statamic\\View\\Antlers\\Language\\Runtime\\NodeProcessor->render(Array) #21 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Language/Runtime/RuntimeParser.php(773): Statamic\\View\\Antlers\\Language\\Runtime\\RuntimeParser->renderText('<!doctype html>...', Array) #22 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/Antlers/Engine.php(93): Statamic\\View\\Antlers\\Language\\Runtime\\RuntimeParser->parseView('/Users/ammonitedigital/Site...', '<!doctype html>...', Array) #23 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/View/View.php(208): Statamic\\View\\Antlers\\Engine->get('/Users/ammonitedigital/Site...', Array) #24 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #25 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #26 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/View/View.php(123): Illuminate\\View\\View->render() #27 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Responses/DataResponse.php(146): Statamic\\View\\View->render() #28 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Responses/DataResponse.php(42): Statamic\\Http\\Responses\\DataResponse->contents() #29 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Structures/Page.php(420): Statamic\\Http\\Responses\\DataResponse->toResponse(Object(Illuminate\\Http\\Request)) #30 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Routing/Router.php(900): Statamic\\Structures\\Page->toResponse(Object(Illuminate\\Http\\Request)) #31 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Routing/Router.php(885): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Statamic\\Structures\\Page)) #32 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Routing/Router.php(805): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Statamic\\Structures\\Page)) #33 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/StaticCaching/Middleware/Cache.php(61): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Statamic\\StaticCaching\\Middleware\\Cache->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Middleware/AuthGuard.php(14): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Statamic\\Http\\Middleware\\AuthGuard->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Middleware/AddViewPaths.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Statamic\\Http\\Middleware\\AddViewPaths->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Middleware/Localize.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #41 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Statamic\\Http\\Middleware\\Localize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Middleware/HandleToken.php(13): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Statamic\\Http\\Middleware\\HandleToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Middleware/StacheLock.php(29): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Statamic\\Http\\Middleware\\StacheLock->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(88): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 /Users/ammonitedigital/Sites/statamic/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)) #54 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #57 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #58 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #59 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #60 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Routing/Router.php(805): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #61 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Routing/Router.php(784): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #62 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Routing/Router.php(748): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #63 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Routing/Router.php(737): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #64 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #65 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #66 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Middleware/StopImpersonating.php(12): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #67 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Statamic\\Http\\Middleware\\StopImpersonating->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #68 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Middleware/DisableFloc.php(17): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #69 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Statamic\\Http\\Middleware\\DisableFloc->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #70 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Middleware/CheckMultisite.php(15): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #71 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Statamic\\Http\\Middleware\\CheckMultisite->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #72 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Middleware/CheckComposerJsonScripts.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #73 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Statamic\\Http\\Middleware\\CheckComposerJsonScripts->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #74 /Users/ammonitedigital/Sites/statamic/vendor/statamic/cms/src/Http/Middleware/PoweredByHeader.php(18): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #75 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Statamic\\Http\\Middleware\\PoweredByHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #76 /Users/ammonitedigital/Sites/statamic/vendor/barryvdh/laravel-destatamicbar/src/Middleware/InjectDestatamicbar.php(66): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #77 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Barryvdh\\Destatamicbar\\Middleware\\InjectDestatamicbar->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #78 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #79 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #80 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #81 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #82 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #83 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #84 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #85 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #86 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #87 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #88 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #89 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #90 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #91 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #92 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #93 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #94 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #95 /Users/ammonitedigital/Sites/statamic/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1172): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #96 /Users/ammonitedigital/Sites/statamic/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #97 /Applications/Herd.app/Contents/Resources/valet/server.php(151): require('/Users/ammonitedigital/Site...') #98 {main} "}
Environment Application Name: Statamic Laravel Version: 11.7.0 PHP Version: 8.2.15 Composer Version: 2.7.1 Environment: local Debug Mode: ENABLED URL: statamic.test Maintenance Mode: OFF Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: CACHED Drivers Broadcasting: log Cache: statamic Database: sqlite Logs: stack / single Mail: log Queue: sync Session: file Statamic Addons: 0 Sites: 1 Stache Watcher: Enabled Static Caching: Disabled Version: 5.0.1 Solo
Fresh statamic/statamic site via CLI
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug description
On Statamic 5.0, using the
is_external_url
modifier returns TypeError: Illegal offset type in isset or emptyHow to reproduce
Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: