Bug #22705 Bug Fixed

Mailing list names disappear

Version: 2.7.3 Reporter: municipal

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

On Friday, the mailing list contained 1,885 names. Four days later, it contains just 423…1,462 people did not suddenly unsubscribe. The missing names are random meaning that it’s not like the table was truncated or anything. This happened once before in June of 2014…went from 1,630 to 225 names. No one has access to the control panel besides me. There was a server move the day after we had the 1,885 names…went from PHP Version 5.4.42/MySQL Version 5.5.50 to PHP Version 5.3.29/MySQL Version 5.5.52.

  • Replace line 477 of system/expressionengine/modules/mailinglist/mod.mailinglist.php

    if ($id === 0)

    with:

    if ($id == FALSE OR strlen($id) != 10)

    And line 492 replace

    ee()->db->delete('mailing_list', array('authcode' => $id));

    with:

    ee()->db->delete('mailing_list', array('authcode' => (string) $id));
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases