Unknown error message
I had changed my domain name and now I receive this message, can someone help?
Notice: unserialize(): Error at offset 0 of 24 bytes in
/public_html/inc/classes/BxDolQueueEmail.php on line 55
PHP Warning: array_merge(): Argument #2 is not an array in
/public_html/inc/classes/BxDolQueueEmail.php on line 57
Warning: array_merge(): Argument #2 is not an array in
/public_html/inc/classes/BxDolQueueEmail.php on line 57
PHP Warning: call_user_func_array() expects parameter 2 to be array,
null given in /public_html/inc/classes/BxDolQueueEmail.php on line 57
-
-
·
LeonidS
- ·
Hello Will!
First of all, please specify - where did you change a domain name? Usually, if the site was working fine and now you get this message without the changes in code (or the installation of the new modules) it may mean that your server uses another PHP version now. But we need to have more details, of course.
-
·
LeonidS
-
- · Will Monte
- ·
OK, here is the bit of code in question.
/**
* Internal method which performs sending using predefined list of params.
*/
protected function _send($sEmail, $sSubject, $sBody, $sParams = '')
{
$aParams = array();
if(!empty($sParams))
$aParams = unserialize($sParams);
return call_user_func_array('sendMail', array_merge(array($sEmail, $sSubject, $sBody), $aParams));
}
} -
- · Will Monte
- ·
The only change was to change the domain name the site uses. The caches were cleared. There are queued emails in the database.
-
-
·
Alex T⚜️
- ·
Please could you be more specific what and where you made changes ?
-
·
Alex T⚜️
-
-
·
Alex T⚜️
- ·
There are queued emails in the database.
Also could you please send SQL dump of several records from sys_queue_email DB table ?
-
·
Alex T⚜️
-
-
·
Alex T⚜️
- ·
Did you received this error just once ? or it's happening all the time?
If it's happening all time, please could you please send us dump or at least screenshot of several records from this table, especially contents of "params" field.
-
·
Alex T⚜️
-
- · Will Monte
- ·
I need a quick REPLY TO THIS ISSUE!!
-
- · Will Monte
- ·
Will I get some help here?
-
-
-
·
Andrey Yasko
- ·
You can directly pm Alex via messenger in his profile.
-
·
Andrey Yasko
-
-
·
Alex T⚜️
- ·
It was a bug in some old versions, because of this bug some incorrect records were added to sys_queue_email table, to resolve the issue please just clear this table.
-
·
Alex T⚜️
-
- · Will Monte
- ·
Alex T⚜️ i had sent you a PM here