Skip to content

Issue of loading .env variables (Laravel 11.9) #90

@t-poeschl

Description

@t-poeschl

Strangely enough, we occasionally have the problem that after a deploy to Laravel Forge, the variables from the .env can still be loaded at the beginning and suddenly 1-2 days later no longer or then the following error occurs:

TypeError: JiraCloud\Configuration\AbstractConfiguration::getJiraHost(): Return value must be of type string, null returned in /home/forge/------/vendor/lesstif/jira-cloud-restapi/src/Configuration/AbstractConfiguration.php:93
Stack trace:
#0 /home/forge/------/vendor/lesstif/jira-cloud-restapi/src/JiraClient.php(400): JiraCloud\Configuration\AbstractConfiguration->getJiraHost()
#1 /home/forge/------/vendor/lesstif/jira-cloud-restapi/src/JiraClient.php(191): JiraCloud\JiraClient->createUrlByContext()
#2 /home/forge/------/vendor/lesstif/jira-cloud-restapi/src/Issue/IssueService.php(506): JiraCloud\JiraClient->exec()

Is the problem known?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions