Hi guys,
My form is suddenly receiving the following error:
Fatal error: Call to a member function setId() on a non-object in /home/xxx/public_html/website.com/components/com_fabrik/views/form/view.html.php on line 53
This is the segment of code I believe it's referring to:
I'm assuming my host must of upgraded this PHP version or something and now a function no longer works? I'm afraid I know very little PHP in order to fix this myself. Could someone help me out please?
My form is suddenly receiving the following error:
Fatal error: Call to a member function setId() on a non-object in /home/xxx/public_html/website.com/components/com_fabrik/views/form/view.html.php on line 53
This is the segment of code I believe it's referring to:
Code:
function setId($id)
{
$this->_id = $id;
}
function getId()
{
if (!isset( $this->_id )) {
$usersConfig = &JComponentHelper::getParams( 'com_fabrik' );
$this->_id = $usersConfig->get( 'fabrik', JRequest::getInt( 'fabrik', 0 ) );
}
return $this->_id;
}