Error in PHP Script
/notizia_dettaglio.php
PHP Version: 5.4.16;  Zend Engine Version: 2.4.0;  QCubed Version: 2.0.2 Development Release (QCubed 2.0.2)
Application: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16;  Server Name: www.crmmeatmachine.it
HTTP User Agent: claudebot
Trying to get property of non-object
Error Type:   E_NOTICE

Rendered Page:   Click here to view contents able to be rendered

Source File:   /home/sites_public/crmmeatmachine/web/notizia_dettaglio.php     Line:   16

Line 11:    		public function Form_Create(){
Line 12:    			
Line 13:    			if(isset($_GET["notizia_id"])){
Line 14:    				$this->objNotizia = Notizia::Load($_GET["notizia_id"]);
Line 15:    				
Line 16:    				$resImmagini = manual_query("select id from immagine where notizia_id = ".$this->objNotizia->Id." and is_active = 1");
Line 17:    				while($infImmagini = mysql_fetch_assoc($resImmagini)){
Line 18:    					$this->objImmagine = Immagine::Load($infImmagini["id"]);
Line 19:    					break;
Line 20:    				}
Line 21:    			}

Call Stack:

#0 /home/sites_public/crmmeatmachine/web/notizia_dettaglio.php(16): QcodoHandleError()
#1 /home/sites_public/crmmeatmachine/web/nextgest/includes/qcubed/_core/base_controls/QFormBase.class.php(289): CrmForm->Form_Create()
#2 /home/sites_public/crmmeatmachine/web/notizia_dettaglio.php(29): QFormBase::Run()

Variable Dump:   Show/Hide



Error Report Generated:  Friday, March 29 2024, 2:12:40 PM