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?
'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?