Hi everybody,
The website is running Joomla152, CKForms 1.3.3 on an Unix server
I've just got the messages :
Notice: Undefined property: stdClass::$hits in /mnt/161/sdb/e/4/ag1ter/joomla152/components/com_ckforms/models/ckforms.php on line 248
Notice: Undefined property: stdClass::$id in /mnt/161/sdb/e/4/ag1ter/joomla152/components/com_ckforms/models/ckforms.php on line 248
and then the normal output display.
It happens only for the newest out of 19 Ckformsdata elements. it's a not blocking issue.
I've not modified the ckforms.php
Lines 239-257 :
/**
* Save Hits
* @return void
*/
function addHits()
{
$dba =& JFactory::getDBO();
$ckform = $this->getData();
$query = " update #__ckforms set hits = ".($ckform->hits + 1). " where id = ".$ckform->id;
$dba->Execute($query);
}
/**
* Save data
* @return void
*/
Is it possible to filter the notice messages ?
Thanks