Hi Bjjen,
Please comment the below line in EmailReply.php:
include_once('../Vendor/ElephantIO/Client.php'); in line number 13.
iotoserver(array('channel' => $row_pid['uniq_id'], 'message' => 'Updated.~~NA~~' . $row['case_no'] . '~~' . 'UPD' . '~~' . stripslashes(html_entity_decode($row['title'], ENT_QUOTES)) . '~~' . $row_pid['short_name'])); in line number 713
Also comment method iotoserver() inline number 1096:
function iotoserver($messageArr) {
if (defined('NODEJS_HOST') && trim(NODEJS_HOST)) {
try {
$elephant = new ElephantIOClient(NODEJS_HOST, '
socket.io', 1, false, false, true);
$elephant->setHandshakeTimeout(1000);
$elephant->init();
$elephant->send(
ElephantIOClient::TYPE_EVENT, null, null, json_encode(array('name' => 'iotoserver', 'args' => $messageArr))
);
$elephant->close();
} catch (Exception $e) {
echo $e->getMessage();