PHP Fatal error

Discussion in 'General' started by maumar, Dec 21, 2008.

  1. maumar

    Joined:
    Sep 12, 2008
    Messages:
    80
    Likes Received:
    0
    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
     
  2. elastix-tob

    Joined:
    Aug 16, 2010
    Messages:
    13
    Likes Received:
    0
    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!
     
  3. maumar

    Joined:
    Sep 12, 2008
    Messages:
    80
    Likes Received:
    0
    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
     
  4. elastix-tob

    Joined:
    Aug 16, 2010
    Messages:
    13
    Likes Received:
    0
  5. maumar

    Joined:
    Sep 12, 2008
    Messages:
    80
    Likes Received:
    0
  6. maumar

    Joined:
    Sep 12, 2008
    Messages:
    80
    Likes Received:
    0
    The union operator doesn't handle null operands.
     
  7. maumar

    Joined:
    Sep 12, 2008
    Messages:
    80
    Likes Received:
    0
    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;
    }
    }
     

Share This Page