Skip to content
New issue

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

Code edit to fix fetching email issue #711

Open
PeopleInside opened this issue Nov 21, 2023 · 0 comments
Open

Code edit to fix fetching email issue #711

PeopleInside opened this issue Nov 21, 2023 · 0 comments

Comments

@PeopleInside
Copy link
Contributor

Bug report

Title

An user on the forum reported he was not able to fetching email and was getting errors.
An unexpected error occurred: Notice: Trying to access array offset on value of type null

Finally the user found how to edit the core code to resolve this issue:
https://forums.uvdesk.com/post/4164

uvdeskprojectfolder/vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php

Changed this line:

$this->router->getContext()->setScheme((bool) $input->getOption('secure') ? 'https' : 'http');

To this:

$this->router->getContext()->setScheme('https');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant