PHP warning

include(UserHelper.php): failed to open stream: No such file or directory

/var/www/webinar/data/www/w4.newdirections.ru/protected/framework/YiiBase.php(432)

420                         {
421                             include($classFile);
422                             if(YII_DEBUG && basename(realpath($classFile))!==$className.'.php')
423                                 throw new CException(Yii::t('yii','Class name "{class}" does not match class file "{file}".', array(
424                                     '{class}'=>$className,
425                                     '{file}'=>$classFile,
426                                 )));
427                             break;
428                         }
429                     }
430                 }
431                 else
432                     include($className.'.php');
433             }
434             else  // class name with namespace in PHP 5.3
435             {
436                 $namespace=str_replace('\\','.',ltrim($className,'\\'));
437                 if(($path=self::getPathOfAlias($namespace))!==false)
438                     include($path.'.php');
439                 else
440                     return false;
441             }
442             return class_exists($className,false) || interface_exists($className,false);
443         }
444         return true;

Stack Trace

#2
+
 /var/www/webinar/data/www/w4.newdirections.ru/protected/modules/front/models/ApiClient.php(73): spl_autoload_call("UserHelper")
68         ]);
69     }
70 
71     public static function getConferenceInfo($conference_id)
72     {
73         $hash = UserHelper::getHash();
74         return LkCrm::get('getConferenceInfo', [
75             'conference_id' => $conference_id,
76             'hash' => $hash,
77         ]);
78     }
#3
+
 /var/www/webinar/data/www/w4.newdirections.ru/protected/modules/front/views/layouts/common.php(7): ApiClient::getConferenceInfo("26539")
02 <html lang="en">
03 <head>
04 
05     <?php $conf_id = Yii::app()->request->getParam('conf_id')?>
06 
07     <?php $conference = ApiClient::getConferenceInfo($conf_id); ?>
08     <!-- Google Tag Manager -->
09     <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
10             new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
11             j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
12             'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
#7
+
 /var/www/webinar/data/www/w4.newdirections.ru/protected/modules/front/controllers/DefaultController.php(162): CController->render("room_record_disable")
157 
158         $room = ApiClient::getAdminRoom($conf_id, $id);
159 
160         if ($room['state_id'] != '6' || !isset($room['performances'][$record_id])) {
161 
162             $this->render('room_record_disable');
163             return;
164         }
165 
166         if (!is_null($part_id) && !empty($room['performances'][$record_id]['key_hangouts_parts'])) {
167 
2024-03-29 10:54:41 Apache/2.4.10 (Debian) Yii Framework/1.1.16