FabrikWorker

Status
Not open for further replies.

alanstylez

Member
I am attempting to add a Fabrik form as a menu item and I get the following message:

'Form
Fatal error: Class 'Fabrik Worker' not found in (...)/administrator/components/com_fabrik/models/fields/formlist.php on line 41'

I checked and the relevant code is:

function getOptions()
{
$db = & FabrikWorker::getDbo();
$query = $db->getQuery(true);
$query->select("id AS value, label AS `text`");
$query->from("#__{package}_forms");
$query->order("value DESC");
$db->setQuery($query);
$rows = $db->loadObjectList();
return $rows;
}

Is this a type-o (the '&'), or is this class really not there?
 
the class really wasn't there. :eek:
Should be fixed in the svn now - along with a couple of other issues with the form menu items.

-Rob
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top