Поиск по сайту
Результаты поиска по тегам 'fatal error'.
Найдено 1 результат
-
Зависает страница оформления заказа когда включено уведомление по SMS В логе пишет PHP Fatal error: Uncaught Error: Call to undefined method Loader::library() in /home2/beleonco/public_html/system/storage/modification/catalog/model/checkout/order.php:952 Ошибка где-то в этом куске кода // Send Admins SMS if configure if ($this->config->get('config_sms_alert')) { $options = array( 'to' => $this->config->get('config_sms_to'), 'copy' => $this->config->get('config_sms_copy'), 'from' => $this->config->get('config_sms_from'), 'username' => $this->config->get('config_sms_gate_username'), 'password' => $this->config->get('config_sms_gate_password'), 'message' => str_replace(array('{ID}', '{DATE}', '{TIME}', '{SUM}', '{PHONE}'), array($order_id, date('d.m.Y'), date('H:i'), floatval($order_info['total']), $order_info['telephone']), $this->config->get('config_sms_message')) ); $this->load->library('sms'); $sms = new Sms($this->config->get('config_sms_gatename'), $options); $sms->send(); } }