0
Good afternoon, I’m having trouble with a script
switch($engine) {
case "asterisk":
if(method_exists($core_conf, "addRtpAdditional")) {
$core_conf->addRtpAdditional('general', array("icesupport" => "yes"));
} else {
throw new \Exception(_("Please update the module named 'motif' or enable the module named 'core'."));
}
break;
}
the problem happens in this line here
throw new \Exception(_("Please update the module named 'motif' or enable the module named 'core'."));
my server is php 5.1.6
the error that appears is this
[Wed Feb 08 16:59:18 2017] [error] [client 200.204.166.13] PHP Warning: Unexpected character in input: '\\' (ASCII=92) state=1 in /var/www/html/admin/modules/motif/functions.inc.php on line 21
Remove the Exception bar, let only
throw new Exception(...)
– Jeferson Assis
I’ll try thank you
– Jasar Orion