email fetching error

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
confignsk
Posts: 11
Joined: Mon Nov 24, 2014 10:43 am

email fetching error

Post by confignsk »

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
confignsk
Posts: 11
Joined: Mon Nov 24, 2014 10:43 am

Re: email fetching error

Post by confignsk »

rolled back php to 7.1, the error is gone, but clones tickets still produce from mail
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: email fetching error

Post by Klemen »

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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Post Reply