Error message "Context was requested but was not available" #3706
Replies: 1 comment 1 reply
-
currentHost() only defined in tasks. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to do something like this in deploy.php:
But the
$host=currentHost()->getAlias();
causes an error message:Context was requested but was not available
.How can I use the host-parameter in a
set
?Beta Was this translation helpful? Give feedback.
All reactions