PHP Fatal error

maumar

Joined
Sep 12, 2008
Messages
80
Likes
0
Points
0
#1
i receive by cron:
Oggetto: Cron <asterisk@elastix> /var/lib/asterisk/bin/freepbx-cron-scheduler.php

PHP Fatal error: Unsupported operand types in /var/lib/asterisk/bin/module_admin on line 142


Fatal error: Unsupported operand types in /var/lib/asterisk/bin/module_admin on line 142

maybe this was already signaled
thnx

Maurizio
 

elastix-tob

Joined
Aug 16, 2010
Messages
13
Likes
0
Points
0
#2
any idea why this happens? I also encountered this problem, but I can't reconstruct it anymore. I would like to know what was the problem.


Any help?

Thanks!
 

maumar

Joined
Sep 12, 2008
Messages
80
Likes
0
Points
0
#3
i remember i found fix on google, this is a very known bug
i remeber i have 2 solution:
apply the fix
upgrade to elastix 1.6

if u do not find the fix googling arond, make me 'now
i'll help you
 

elastix-tob

Joined
Aug 16, 2010
Messages
13
Likes
0
Points
0
#4

maumar

Joined
Sep 12, 2008
Messages
80
Likes
0
Points
0
#5

maumar

Joined
Sep 12, 2008
Messages
80
Likes
0
Points
0
#6
The union operator doesn't handle null operands.
 

maumar

Joined
Sep 12, 2008
Messages
80
Likes
0
Points
0
#7
into elastix 1.6 this is fixed:

function showList($online = false) {
$modules_local = module_getinfo(false,false,true);
$modules = $modules_local;
if ($online) {
$modules_online = module_getonlinexml();
if (isset($modules_online)) { # line 142
$modules += $modules_online;
}
}
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,981
Messages
131,060
Members
17,703
Latest member
elvis martinez
Top