www.marcolino.pt.157-90-0-125.cprapid.com Open in urlscan Pro
157.90.0.125  Public Scan

Submitted URL: http://marcolino.pt.157-90-0-125.cprapid.com/
Effective URL: https://www.marcolino.pt.157-90-0-125.cprapid.com/
Submission Tags: @ecarlesi possiblethreat Search All
Submission: On December 13 via api from IT — Scanned from PT

Form analysis 0 forms found in the DOM

Text Content

yii\base\ErrorException: Undefined index:
https://www.marcolino.pt.157-90-0-125.cprapid.com in
/home/marcolino/frontend/helpers/LinkHelper.php:76 Stack trace: #0
/home/marcolino/frontend/helpers/LinkHelper.php(76):
yii\base\ErrorHandler->handleError(8, 'Undefined index...',
'/home/marcolino...', 76, Array) #1
/home/marcolino/common/models/custompages/CustomPagesCategories.php(341):
frontend\helpers\LinkHelper::createUrl(Array, Array, Array) #2
/home/marcolino/common/models/custompages/CustomPagesCategories.php(307):
common\models\custompages\CustomPagesCategories::generateLink(Object(frontend\models\SupportCategories),
Array) #3 /home/marcolino/vendor/yiisoft/yii2/base/Component.php(139):
common\models\custompages\CustomPagesCategories->getLink() #4
/home/marcolino/vendor/yiisoft/yii2/db/BaseActiveRecord.php(298):
yii\base\Component->__get('link') #5
/home/marcolino/common/controllers/Controller.php(111):
yii\db\BaseActiveRecord->__get('link') #6
/home/marcolino/vendor/yiisoft/yii2/base/Controller.php(178):
common\controllers\Controller->beforeAction(true) #7
/home/marcolino/vendor/yiisoft/yii2/base/Module.php(528):
yii\base\Controller->runAction('', Array) #8
/home/marcolino/vendor/yiisoft/yii2/web/Application.php(103):
yii\base\Module->runAction('', Array) #9
/home/marcolino/vendor/yiisoft/yii2/base/Application.php(386):
yii\web\Application->handleRequest(Object(yii\web\Request)) #10
/home/marcolino/public_html/index.php(39): yii\base\Application->run() #11
{main} Copied!


PHP NOTICE – YII\BASE\ERROREXCEPTION


UNDEFINED INDEX: HTTPS://WWW.MARCOLINO.PT.157-90-0-125.CPRAPID.COM

 * 1. in /home/marcolino/frontend/helpers/LinkHelper.php at line 76
   67686970717273747576777879808182838485
   
        *
        * @return string|null
        */
       public static function createUrl($options, $fields = [], $slugs = [], $noLangURL = null, $index = null)
       {
           $params = (array)$options;
    
           $hostInfo = !empty(Yii::$app->request->hostInfo) ? Yii::$app->request->hostInfo : getenv('URL');
    
           $hostConfig = Yii::$app->params['hostConfiguration'][$hostInfo];
    
           $lang = isset($options['lang']) ? $options['lang'] : Yii::$app->language;
           $params['lang'] = $lang;
    
           if ($noLangURL && isset($params['lang'])) {
               unset($params['lang']);
           }
    
           if (isset(Yii::$app->params['urlConfigurationParams'][$params[0]][count($fields)][0][substr($lang, 0, 2)])) {
   

 * 2. in /home/marcolino/frontend/helpers/LinkHelper.php at line 76 –
   yii\base\ErrorHandler::handleError(8, 'Undefined index: https://www.mar...',
   '/home/marcolino/frontend/helpers...', 76, ...)
   70717273747576777879808182
   
       public static function createUrl($options, $fields = [], $slugs = [], $noLangURL = null, $index = null)
       {
           $params = (array)$options;
    
           $hostInfo = !empty(Yii::$app->request->hostInfo) ? Yii::$app->request->hostInfo : getenv('URL');
    
           $hostConfig = Yii::$app->params['hostConfiguration'][$hostInfo];
    
           $lang = isset($options['lang']) ? $options['lang'] : Yii::$app->language;
           $params['lang'] = $lang;
    
           if ($noLangURL && isset($params['lang'])) {
               unset($params['lang']);
   

 * 3. in /home/marcolino/common/models/custompages/CustomPagesCategories.php at
   line 341 – frontend\helpers\LinkHelper::createUrl([0 => 'support/index',
   'lang' => 'pt'], ['idCategory' => 41], ['category' =>
   'politica-de-privacidade'])
   335336337338339340341342343344345346347
   
               $idCategory = $model->primaryKey;
    
               $action = !empty($params['action']) ? $params['action'] : $model->linkHelper['actionCategory'];
               $lang = !empty($params['lang']) ? $params['lang'] : \Yii::$app->language;
    
               return LinkHelper::createUrl([$action, 'lang' => $lang], ['idCategory' => $idCategory],
                   ['category' => $categorySlug]);
           }
       }
    
       /**
        * @return array|null|stdClass
        */
   

 * 4. in /home/marcolino/common/models/custompages/CustomPagesCategories.php at
   line 307 –
   common\models\custompages\CustomPagesCategories::generateLink(frontend\models\SupportCategories,
   [])
   301302303304305306307308309310311312313
   
       public function getLink($params = [], $object = null)
       {
           if ($object) {
               return self::generateLink($object, $params);
           }
    
           return self::generateLink($this, $params);
       }
    
       /**
        * @param $object
        * @param $params
        *
   

 * 5. in /home/marcolino/vendor/yiisoft/yii2/base/Component.php at line 139 –
   common\models\custompages\CustomPagesCategories::getLink()
   133134135136137138139140141142143144145
   
        */
       public function __get($name)
       {
           $getter = 'get' . $name;
           if (method_exists($this, $getter)) {
               // read property, e.g. getName()
               return $this->$getter();
           }
    
           // behavior property
           $this->ensureBehaviors();
           foreach ($this->_behaviors as $behavior) {
               if ($behavior->canGetProperty($name)) {
   

 * 6. in /home/marcolino/vendor/yiisoft/yii2/db/BaseActiveRecord.php at line 298
   – yii\base\Component::__get('link')
   292293294295296297298299300301302303304
   
               return null;
           }
    
           if (isset($this->_related[$name]) || array_key_exists($name, $this->_related)) {
               return $this->_related[$name];
           }
           $value = parent::__get($name);
           if ($value instanceof ActiveQueryInterface) {
               $this->setRelationDependencies($name, $value);
               return $this->_related[$name] = $value->findFor($name, $this);
           }
    
           return $value;
   

 * 7. in /home/marcolino/common/controllers/Controller.php at line 111 –
   yii\db\BaseActiveRecord::__get('link')
   105106107108109110111112113114115116117
   
               return $privacyPolicyPage = SupportCategories::find()
                   ->where(['id_custom_page_category' => IdsHelper::CUSTOM_CATEGORY_PRIVACY_POLICY])
                   ->one();
           }, 3600, new TagDependency(['tags' => IdsHelper::CACHE_TAG_PRIVACY_POLICY]));
    
           if (!empty($privacyPolicyPage)) {
               Yii::$app->params['privacyPolicy'] = $privacyPolicyPage->link;
           }
    
           // menu
           Yii::$app->params['menu'] = Yii::$app->cache->getOrSet('menu_' . Yii::$app->language, function () {
               $menu['topCp'] = IdsHelper::findModel(IdsHelper::CUSTOM_PAGE_TOP_HEADER, true, false);
               $menu['historyCpc'] = IdsHelper::findModel(IdsHelper::CUSTOM_CATEGORY_HISTORY, false, true);
   

 * 8. in /home/marcolino/vendor/yiisoft/yii2/base/Controller.php at line 178 –
   common\controllers\Controller::beforeAction(true)
   172173174175176177178179180181182183184
   
                   break;
               }
           }
    
           $result = null;
    
           if ($runAction && $this->beforeAction($action)) {
               // run the action
               $result = $action->runWithParams($params);
    
               $result = $this->afterAction($action, $result);
    
               // call afterAction on modules
   

 * 9. in /home/marcolino/vendor/yiisoft/yii2/base/Module.php at line 528 –
   yii\base\Controller::runAction('', [])
   522523524525526527528529530531532533534
   
           $parts = $this->createController($route);
           if (is_array($parts)) {
               /* @var $controller Controller */
               list($controller, $actionID) = $parts;
               $oldController = Yii::$app->controller;
               Yii::$app->controller = $controller;
               $result = $controller->runAction($actionID, $params);
               if ($oldController !== null) {
                   Yii::$app->controller = $oldController;
               }
    
               return $result;
           }
   

 * 10. in /home/marcolino/vendor/yiisoft/yii2/web/Application.php at line 103 –
   yii\base\Module::runAction('', [])
   979899100101102103104105106107108109
   
               $params = $this->catchAll;
               unset($params[0]);
           }
           try {
               Yii::debug("Route requested: '$route'", __METHOD__);
               $this->requestedRoute = $route;
               $result = $this->runAction($route, $params);
               if ($result instanceof Response) {
                   return $result;
               }
    
               $response = $this->getResponse();
               if ($result !== null) {
   

 * 11. in /home/marcolino/vendor/yiisoft/yii2/base/Application.php at line 386 –
   yii\web\Application::handleRequest(yii\web\Request)
   380381382383384385386387388389390391392
   
       {
           try {
               $this->state = self::STATE_BEFORE_REQUEST;
               $this->trigger(self::EVENT_BEFORE_REQUEST);
    
               $this->state = self::STATE_HANDLING_REQUEST;
               $response = $this->handleRequest($this->getRequest());
    
               $this->state = self::STATE_AFTER_REQUEST;
               $this->trigger(self::EVENT_AFTER_REQUEST);
    
               $this->state = self::STATE_SENDING_RESPONSE;
               $response->send();
   

 * 12. in /home/marcolino/public_html/index.php at line 39 –
   yii\base\Application::run()
   33343536373839
   
    
   $application = new Application($config);
   $application->on(Application::EVENT_BEFORE_REQUEST, function (Event $event) {
       // ob_gzhandler replaced by cPanel zlib
   });
    
   $application->run();
   

$_SESSION = [
    '__flash' => [],
    '__returnUrl' => [
        'customer/dashboard',
    ],
];

2024-12-13, 13:10:56

Apache

Yii Framework/2.0.38