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

Undefined array key 2 | Can't fetch email #4372

Closed
BesliLuuk opened this issue Nov 26, 2024 · 7 comments
Closed

Undefined array key 2 | Can't fetch email #4372

BesliLuuk opened this issue Nov 26, 2024 · 7 comments

Comments

@BesliLuuk
Copy link

Hi there,

I've sucesfully configured my email connection settings to connect to my STMP and IMAP server. Outgoing mails send just fine, and the connection for the incomming mail via IMAP is succesfull too, however, as soon as there is an unread email in one of the mailboxes that is being fetched, I'm hit with the 'Undefined array key 2' error.

I feel like this might be related to issue #4195, but I could be wrong ofcourse

fetch-emails.log

PHP version: 8.2.26
FreeScout version: 1.8.158
Database: MySQL
Are you using CloudFlare: No
Are you using non-official modules: No

@freescout-help
Copy link
Collaborator

Full error message is needed. Try to find it in the Manage > Logs > App Logs.

@BesliLuuk
Copy link
Author

Full error message is needed. Try to find it in the Manage > Logs > App Logs.

This is the full error message according to the app log.

image

@freescout-help
Copy link
Collaborator

Check "laravel-nnn.log"

@BesliLuuk
Copy link
Author

BesliLuuk commented Nov 26, 2024

Check "laravel-nnn.log"

My apologies.

laravel-2024-11-26.log
image

@freescout-help
Copy link
Collaborator

Try with the attached /app/Console/Commands/FetchEmails.php file: FetchEmails.zip

Run fetching and the fetch-emails.log file should contain a more detailed error message now.

Repository owner deleted a comment from erickmarcia Nov 27, 2024
@BesliLuuk
Copy link
Author

Try with the attached /app/Console/Commands/FetchEmails.php file: FetchEmails.zip

Run fetching and the fetch-emails.log file should contain a more detailed error message now.

I updated the file and restarted the server, but the error in the fetch-emails.log is still the same. However, the laravel logs seem to have disappeared?

I did use the Fetch Emails tool in the Tools tab with the Debug check enabled and I'll attach the logs below. It appears it is actually fetching emails, but has issues loading the content perhaps?

Fetch_Debug_Log.txt

@freescout-help
Copy link
Collaborator

Someone will need to debug it on your server. You can email at [email protected] or try to find someone here https://github.com/freescout-help-desk/freescout/wiki/Hire-Developer

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

2 participants