Skip to content

fbilling causing FreePBX GUI to crash #21

@doctorluigi

Description

@doctorluigi

After enabling fbilling, FreePBX GUI (Extensions Application) crashes.

I have tested it on FreePBX 13.0.1beta3.54:
Whoops \ Exception \ ErrorException (E_ERROR)
HELP
Call to undefined method guitext::guitext()

/var/www/html/admin/modules/fbilling/functions.inc.php
global $db;
36.
37.## since provided gui_link opens in current window/tab we have to do this so some of our links will be open in new tab
38.class gui_link_new_tab extends guitext {
39. function gui_link_new_tab($elemname, $text, $url, $userlang = true) {
40. $parent_class = get_parent_class($this);
41. parent::$parent_class($elemname, $text);
42. $this->html_text = "<a href="$url" target="_blank" id ="$this->elemname">$text";
43. }

Line 41 is highlighted in the debugging screen so I guess it's the one that's causing troubles.

I'd be happy to help and test it on various platforms and FreePBX versions, in the meantime I'm reporting the issue to the more knowledgeable folks just in case someone else can reproduce the issue or provide a possible fix.

What is the latest supported FreePBX version where the GUI doesn't crash?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions