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

Error: Undefined array key 1, emails not fetched #4195

Closed
ybizeul opened this issue Aug 26, 2024 · 7 comments
Closed

Error: Undefined array key 1, emails not fetched #4195

ybizeul opened this issue Aug 26, 2024 · 7 comments

Comments

@ybizeul
Copy link
Contributor

ybizeul commented Aug 26, 2024

image

I'm not able to determine what makes some emails not being fed into Freescout.

During my tests I was not able to break it, but a couple users email are not showing up.

Sending messages to you

PHP version: 8.2.22
FreeScout version: 1.17.82
Database: MySQL / PostgreSQL
Are you using CloudFlare: Yes / No
Are you using non-official modules: Yes / No

Repository owner deleted a comment Aug 26, 2024
@freescout-help
Copy link
Collaborator

We also could not reproduce the issue with the EML file you've sent.
Try to upgrade FreeScout to the latest version.

@ybizeul
Copy link
Contributor Author

ybizeul commented Aug 26, 2024

But still there is code accessing an array out of bound, no clue what could cause this code path ?

I've been really happy with Freescout for the last couple of years and 4 or 5 months ago I started having many problems like that I hope it'll get better.

@freescout-help
Copy link
Collaborator

It's hard to tell what's on those line where you have an error. You've specified non-existing FreeScout version (1.17.82) and current Structure.php file does not have any code on those line.

@ybizeul
Copy link
Contributor Author

ybizeul commented Aug 26, 2024

Well, that's weird...

That wouldn't be this line then ?

$ctx = substr($context, 0+2, $positions[$pos_i+1]-2);

As for the version :

                                                                       ,---.
,--------.,--.                 ,--.            ,---.    ,--. ,--------.|   |
'--.  .--'`--',--.--. ,---.  ,-|  |     ,---. /  .-'    |  | '--.  .--'|  .'
   |  |   ,--.|  .--'| .-. :' .-. |    | .-. ||  `-,    |  |    |  |   |  |
   |  |   |  ||  |   \   --.\ `-' |    ' '-' '|  .-'    |  |.--.|  |   `--'
   `--'   `--'`--'    `----' `---'      `---' `--'      `--''--'`--'   .--.
                                                                       '--'
Image:  tiredofit/freescout | Version  1.17.82 Type 'image_changelog' for details
Repository/Documentation: https://github.com/tiredofit/docker-freescout/
License: MIT | © 2024 Dave Conroy

If this image provides you value  - Consider sponsoring my work for continued
development, timely updates, and feature requests. Commercial support available.

                    More Info:  https://www.tiredofit.ca

That would be a docker issue ?

@freescout-help
Copy link
Collaborator

Fixed in the master branch and will be published in the next release.

@ybizeul
Copy link
Contributor Author

ybizeul commented Aug 27, 2024

I can confirm it's now fetching emails.

Emails are empty, just like half of the emails I get anyways but that's a different issue.

I'm not sure I should reopen an issue, last time the blame was put on mail server or internet connection, really that's not the case but can't really prove it

@freescout-help
Copy link
Collaborator

Create a new issue. Specify if you are using POP3 or IMAP to fetch emails and send a sample email to [email protected]

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