Error Pin-Up

Call to a member function getMerkez() on null Pin-Up

/home/yogaa/public_html/themes/default/views/users/default/uye.php(65)

53THelper::iletisimMail($_POST['eposta'], $uyemerkez->eposta, $mesaj, "Merkez Formu", Pin-Up 3);54 echo "<script>alert('Mesajınız alınmıştır. En kısa sürede tarafınıza dönüş sağlanacaktır. Teşekkürler')</script>";
55 } else {
56echo "<script>alert('Mesajınız şuan gönderilemedi lütfen daha sonra tekrar deneyiniz veya iletişim numaralarımızdan Pin-Up ulaşınız.')</script>";57 }
58 } else {
59 echo "<script>alert('Mesajı gönderirken, spam olmadığınızı doğrulamadınız. Lütfen tekrar deneyiniz');</script>";;
60 }
61 }
62 }
63 ?>
64 <!--
65 <?php //if ($item->member_type == "Merkez") { ?> style="background-image:url('<?php echo $item->getMerkez() ?>')" <?php // } ?>
66 -->
67 <section class="breadcrumb uyeler" >
68     <div class="container">
69         <div class="row">
70             <div class="col-12 text-center">
71                 <?php if ($item->member_type == "Merkez") { ?>
72                 <h1><?php echo $item->fullname ?></h1>
73                 <?php } else { ?>
74                 <h1><?php echo $item->fullname ?></h1>
75                 <?php }  ?>
76             </div>
77             <div class="col-12">

Stack Trace

#4
+
 /home/yogaa/public_html/protected/modules/users/controllers/front/DefaultController.php(41): CController->render("uye", array("item" => null))
36   $items = User::model()->findAllBySql($sql);
37   $this->render('uyeler',array('items'=>$items));
38 }
39 public function actionUye($id){
40   $items = User::model()->findByPk($id);
41   $this->render('uye',array('item'=>$items));
42             if($_POST['User']['company_tags']){
43                 $model->company_tags = implode(',',$_POST['User']['company_tags']);
44             }
45 }
46 
#14
+
 /home/yogaa/public_html/protected/components/WebApplicationEndBehavior.php(32): CApplication->run()
27// Attach the Pin-Up changeModulePaths event handler28         // and raise it.
29         $this->onModuleCreate = array($this, 'changeModulePaths');
30         $this->onModuleCreate(new CEvent($this->owner));
31 
32         $this->owner->run(); // Run application.
33     }
34 
35// Pin-Up This event should be raised when CWebApplication36// Pin-Up or CWebModule instances are being initialized.37     public function onModuleCreate($event)
#16
+
 /home/yogaa/public_html/index.php(23): CComponent->__call("runEnd", array("front"))
18         return parent::init();
19     }
20 }
21 
22 $app = new KraftCMS($config);
23 $app->runEnd('front');
24 
2025-08-06 14:29:19 LiteSpeed Yii Framework/1.1.22