Script URL: /inc/mail/hesk_pop3.php
Version of script: 311
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
php 7.2
Warning: count(): Parameter must be an array or an object that implements Countable in /home/***********/inc/mail/mime_parser.php on line 2186
email fetching error
Moderator: mkoch227
Re: email fetching error
rolled back php to 7.1, the error is gone, but clones tickets still produce from mail
Re: email fetching error
The PHP warning shows up in a third-party library but can be ignored and should be gone when you turn Debug mode off in Hesk settings > Help desk tab.
As for duplicates - Hesk will process mail that your server sends. There's no way to mark emails as "read" in POP3 protocol so if your server keeps sending the same emails, Hesk will keep processing them.
The solution would be to:
1. switch to IMAP fetching instead (recommended; Hesk will only fetch unread messages from the mailbox), or
2. turn "Keep a copy" setting OFF in your Hesk POP3 fetching settings to make sure Hesk deletes emails from the mailbox after processing them
As for duplicates - Hesk will process mail that your server sends. There's no way to mark emails as "read" in POP3 protocol so if your server keeps sending the same emails, Hesk will keep processing them.
The solution would be to:
1. switch to IMAP fetching instead (recommended; Hesk will only fetch unread messages from the mailbox), or
2. turn "Keep a copy" setting OFF in your Hesk POP3 fetching settings to make sure Hesk deletes emails from the mailbox after processing them
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools