Error in PHP Script
/index.php
PHP Version: 5.6.40-5+ubuntu16.04.1+deb.sury.org+1;  Zend Engine Version: 2.6.0;  Qcodo Version: 0.3.21 (Qcodo Beta 3)
Application: Apache/2.4.18 (Ubuntu);  Server Name: www.mforum.no
HTTP User Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
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/mforumcore/custom/mforum/profil.php     Line:   72

Line 67:    				//$arrStringSti[] = sprintf('<a href="/%s/%s" title="%s">%s</a>',QApplication::Translate('profil'),QApplication::Translate('minside'),QApplication::Translate('Min side'),QApplication::Translate('Min side'));
Line 68:    				
Line 69:    				if(isset($objPathVars->arrPathVars[2]) && is_numeric($objPathVars->arrPathVars[2])){
Line 70:    					
Line 71:    					$objKunde = T1Kunde::Load($objPathVars->arrPathVars[2]);
Line 72:    					$arrStringSti[] = $objKunde->Firmanavn . " sin profil";
Line 73:    					if($objKunde instanceof T1Kunde){
Line 74:    						$strBransjer = '';
Line 75:    						foreach ($objKunde->GetT1BransjeArray(QQ::Clause(QQ::OrderBy(QQN::T1Bransje()->Navn))) as $objBransje){
Line 76:    							$strBransjer .= ($strBransjer != '') ? ',' . $objBransje->Navn : $objBransje->Navn;
Line 77:    						}

Call Stack:

#0 /home/sites/mforumcore/custom/mforum/profil.php(72): QcodoHandleError()
#1 /home/sites/mforumcore/custom/mforum/loader.php(104): MProfilFrontend::ByggSideparametere()
#2 /home/sites/mforum.no/custom/_core/querystring.php(17): TP_LastFraMfProfil()
#3 /home/sites/mforumfelles/_core/querystring.class.php(128): CustomQuerystring()
#4 /home/sites/mforumfelles/_core/querystring.class.php(56): Querystring->KjorKommando()
#5 /home/sites/mforumfelles/_core/init_page.php(66): Querystring->__construct()
#6 /home/sites/mforum.no/index.php(36): require_once()

Variable Dump:   Show/Hide



Error Report Generated:  Thursday, June 19 2025, 8:05:51 AM