CHttpException

/var/www/ulkan/vhost/ulkansayt.uz/protected/modules/marvarid/components/system/System.php(66)

54      * @param string $class
55      * @throws Exception
56      */
57     public static function pageNotFound($msg = '') {
58         throw new CHttpException(404, static::errorMsg($msg));
59     }
60 
61     /**
62      * Same as error(), but throws database exceptions
63      * @param string $text
64      */
65     public static function paymentRequired() {
66         throw new CHttpException(402);
67     }
68 
69     public static function temporarilyClosed() {
70         throw new CHttpException(423);
71     }
72 
73     public static function siteNotSetup() {
74         throw new CHttpException(405);
75     }
76 
77     public static function siteNotActivatedByEmail() {
78         throw new CHttpException(428);

Stack Trace

#0
+
 /var/www/ulkan/vhost/ulkansayt.uz/protected/modules/membership/listeners/MembershipEventListener.php(19): System::paymentRequired()
14         if (Yii::app()->getUrlManager()->isBackend()) {
15             if (Yii::app()->getController()->getId() !== 'planBackend') {
16                 Yii::app()->getRequest()->redirect(Yii::app()->createUrl('/membership/planBackend/upgrade'));
17             }
18         } else {
19             System::paymentRequired();
20         }
21     }
22 }
#2
+
 /var/www/ulkan/vhost/ulkansayt.uz/protected/modules/membership/components/FMembershipComponent.php(88): CComponent->raiseEvent("onpaymentrequired", CEvent)
83 
84     /**
85      * {@inheritdoc}
86      */
87     public function onPaymentRequired(CEvent $event) {
88         $this->raiseEvent('onPaymentRequired', $event);
89     }
90 
91     /**
92      * {@inheritdoc}
93      */
#3
+
 /var/www/ulkan/vhost/ulkansayt.uz/protected/modules/membership/components/FMembershipComponent.php(73): FMembershipComponent->onPaymentRequired(CEvent)
68 
69     public function raiseStatusEvent() {
70         $eventName = 'on' . ucfirst($this->getPlan()->getStatus());
71         if ($this->hasEventHandler($eventName)) {
72             $event = new CEvent($this);
73             $this->{$eventName}($event);
74         }
75     }
76 
77     /**
78      * {@inheritdoc}
2024-03-19 06:59:02 Apache Yii Framework/1.1.23