PHP-Fehler im Cronjob nach aktivieren von PHP8

Fragen und Tipps & Tricks zur PHP Mailinglisten-Verwaltung SuperMailingList

Moderator: mirko

Antworten
SaschaBreipohl
Beiträge: 2
Registriert: 27.02.2022, 19:57

Re: PHP-Fehler im Cronjob nach aktivieren von PHP8

Beitrag von SaschaBreipohl »

Danke für die schnelle Antwort.
Hat funktioniert.. Der Fehler kommt nun nicht mehr und die Prüfung auf unzustellbare E-Mails läuft nun ohne Probleme.
Benutzeravatar
mirko
Beiträge: 22886
Registriert: 25.11.2001, 15:14
Wohnort: Leipzig
Kontaktdaten:

Re: PHP-Fehler im Cronjob nach aktivieren von PHP8

Beitrag von mirko »

Update laden

https://www.supermailinglist.de/newslet ... wnload.htm


in einen Ordner auspacken, nur die Datei IMAP.php aus dem Verzeichnis PEAR auf den Webspace ins Verzeichnis PEAR übertragen, bestehende Datei ersetzen lassen
SaschaBreipohl
Beiträge: 2
Registriert: 27.02.2022, 19:57

PHP-Fehler im Cronjob nach aktivieren von PHP8

Beitrag von SaschaBreipohl »

Hallo,

ich habe bei meinem Hoster PHP 8.0.15 aktiviert und erhalte nun folgenden Fehler im Cronjob nach aktivieren des Debug-Modus:

Code: Alles auswählen

memory used: 10485760 bytes

CurrentCronJobScriptLevel: 6
Fatal error: Uncaught ValueError: mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "15" in /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php:3585 Stack trace: #0 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(3585): mb_convert_encoding('INBOX', 'UTF7-IMAP', '15') #1 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(2128): Net_IMAPProtocol->utf7Encode('INBOX') #2 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(818): Net_IMAPProtocol->_createQuotedString('INBOX') #3 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAP.php(187): Net_IMAPProtocol->cmdSelect('INBOX') #4 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/inboxcheck.php(505): Net_IMAP->login('lzsteinhagen@ve...', 'oBhr62hfvm7Enyk...') #5 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/cron_distriblists.inc.php(134): _LBPLF->_LBRPO('', Array, 0) #6 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/crons.php(350): _LLOJ6('Distribution li...') #7 {main} thrown in /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php on line 3585 Script timeout at level 6.
Check options of email retrieving or for email sending.
Script error at level 6.
Fatal PHP ERROR type=1; message=Uncaught ValueError: mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "15" in /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php:3585 Stack trace: #0 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(3585): mb_convert_encoding('INBOX', 'UTF7-IMAP', '15') #1 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(2128): Net_IMAPProtocol->utf7Encode('INBOX') #2 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(818): Net_IMAPProtocol->_createQuotedString('INBOX') #3 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAP.php(187): Net_IMAPProtocol->cmdSelect('INBOX') #4 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/inboxcheck.php(505): Net_IMAP->login('lzsteinhagen@ve...', 'oBhr62hfvm7Enyk...') #5 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/cron_distriblists.inc.php(134): _LBPLF->_LBRPO('', Array, 0) #6 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/crons.php(350): _LLOJ6('Distribution li...') #7 {main} thrown; file=/mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php; line=3585
Script error at level 6.
Fatal PHP ERROR type=1; message=Uncaught ValueError: mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "15" in /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php:3585 Stack trace: #0 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(3585): mb_convert_encoding('INBOX', 'UTF7-IMAP', '15') #1 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(2128): Net_IMAPProtocol->utf7Encode('INBOX') #2 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(818): Net_IMAPProtocol->_createQuotedString('INBOX') #3 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAP.php(187): Net_IMAPProtocol->cmdSelect('INBOX') #4 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/inboxcheck.php(505): Net_IMAP->login('lzsteinhagen@ve...', 'oBhr62hfvm7Enyk...') #5 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/cron_distriblists.inc.php(134): _LBPLF->_LBRPO('', Array, 0) #6 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/crons.php(350): _LLOJ6('Distribution li...') #7 {main} thrown; file=/mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php; line=3585
Script error at level 6.
Fatal PHP ERROR type=1; message=Uncaught ValueError: mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "15" in /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php:3585 Stack trace: #0 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(3585): mb_convert_encoding('INBOX', 'UTF7-IMAP', '15') #1 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(2128): Net_IMAPProtocol->utf7Encode('INBOX') #2 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php(818): Net_IMAPProtocol->_createQuotedString('INBOX') #3 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAP.php(187): Net_IMAPProtocol->cmdSelect('INBOX') #4 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/inboxcheck.php(505): Net_IMAP->login('.', '...') #5 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/cron_distriblists.inc.php(134): _LBPLF->_LBRPO('', Array, 0) #6 /mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/crons.php(350): _LLOJ6('Distribution li...') #7 {main} thrown; file=/mnt/web401/b1/43/5339843/htdocs/__verteiler.symlink/PEAR/IMAPProtocol.php; line=3585
Das betrifft folgende die Aktion Prüfung auf unzustellbare E-Mails (Hard bounces)

Was kann ich da tun?
Antworten