Phalcon Framework 5.8.0

Error: Cannot use object of type stdClass as array

/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/menu-united-states.phtml (40)
#0Phalcon\Mvc\View\Engine\Php->render
#1Phalcon\Mvc\View->engineRender
#2Phalcon\Mvc\View->partial
/var/www/html/actiage/releases/20241021152852/src/front/views/layouts/default.phtml (30)
<?php
    use Actiage\Shared\Helpers\Vistas;
?>
<!DOCTYPE html>
<html lang="es">
<head>
    <?= $this->view->partial('partials/common/robots'); ?>
    <?= $this->view->partial('partials/common/metas'); ?>
    <?= $this->view->partial('partials/common/analyticsG4'); ?>
    <?= $this->view->partial('partials/common/canonical'); ?>
    <?= $this->view->partial('partials/common/links'); ?>
    <?= $this->view->partial('partials/common/css'); ?>
    <?= $this->view->partial('partials/common/tagManagerHead'); ?>
    <?= $this->view->partial('partials/common/pixelFacebook'); ?>
    <?= $this->view->partial('partials/common/pixelTiktok'); ?>
    <?= $this->view->partial('partials/common/hotjar'); ?>
 
    <?php
    if (FACEBOOKAPI) {
        $this->ApiConversionesFbPlugin->pageView();
    }
    ?>
    <?= $this->view->partial('partials/common/prescripts'); ?>
</head>
<body class="refresh">
<?= $this->view->partial('partials/common/tagManagerBody'); ?>
<?php
if (!isset($page) || ($page == 1 || !isset($noAjax) || $noAjax)) {
    echo $this->view->partial('partials/common/header', ['user' => (isset($user)) ? $user : '']);
    echo $this->view->partial('partials/common/menu' . Vistas::getCountryNav($country), ['navs' => $navs]);
}
?>
<main <?= (($blank ?? null)? 'class="blanco ' . (($container ?? null) ? '"' : 'container"') : ''); ?>>
    <div class="<?= (isset($classSpecialLayout)) ? $classSpecialLayout : ''; ?>">
        <p><?php $this->flashSession->output() ?></p>
        <?= $this->view->getContent(); ?>
    </div>
</main>
 
<?php
if (!isset($page) || ($page == 1 || !isset($noAjax) || $noAjax)) {
    echo $this->view->partial('partials/common/footer');
} else {
    if ((isset($loadNextContent) && $loadNextContent) || (isset($page) && $page > 1) || ($isAjax)) { ?>
        <div id="contentsWrapper">
            <div class="content">
            </div>
        </div>
        <?php
    }
}
?>
<div id="medicoConsultaMostrar"></div>
<span id="modal-privacidad-capa-mostrar"></span>
<span id="modal-review-ajax"></span>
<?= $this->view->partial('partials/common/whatsapp'); ?>
<?= $this->view->partial('partials/common/klaviyoForms'); ?>
</body>
<?= $this->view->partial('partials/common/js'); ?>
<?= $this->assets->outputJs(); ?>
<?= $this->assets->outputCss(); ?>
</html>
#3Phalcon\Mvc\View\Engine\Php->render
#4Phalcon\Mvc\View->engineRender
#5Phalcon\Mvc\View->processRender
#6Phalcon\Mvc\View->render
#7Phalcon\Mvc\Application->handle
/var/www/html/actiage/releases/20241021152852/public/index.php (90)
<?php
function dd($str) {
    echo "<pre>";
    print_r($str);
    echo "</pre>";
    exit;
}
use Phalcon\Di\FactoryDefault;
use Phalcon\Logger\AbstractLogger;
use Phalcon\Logger\Adapter\Stream;
use Phalcon\Logger\Logger;
use Phalcon\Mvc\Application;
use Phalcon\Support\Debug;
 
$debug = new Debug();
$debug->listen();
error_reporting(E_ALL);
 
define('BASE_PATH', dirname(__DIR__));
define('APP_PATH', BASE_PATH . '/src');
 
/**
 * The FactoryDefault Dependency Injector automatically registers
 * the services that provide a full stack framework.
 */
$di = new FactoryDefault();
 
/**
 * Entornos de desarrollo disponibles y variables de entorno
 */
include APP_PATH . '/config/environment.php';
 
/**
 * Información listas en klaviyo
 */
include APP_PATH . '/config/klaviyo.php';
 
/**
 * Read services
 */
include APP_PATH . '/config/services.php';
 
/**
 * Handle routes
 */
include APP_PATH . '/config/router.php';
 
/**
 * Get config service for use in inline setup below
 */
$config = $di->get('config');
 
/**
 * Include Autoloader
 */
include APP_PATH . '/config/loader.php';
 
 
/**
 * Handle the request
 */
$application = new Application($di);
 
$application->registerModules(
    [
        'admin' => [
            'className' => Actiage\Admin\Module::class,
            'path'      => '../src/admin/Module.php',
        ],
        'doctor'  => [
            'className' => Actiage\Doctor\Module::class,
            'path'      => '../src/doctor/Module.php',
        ],
        'sponsor'  => [
            'className' => Actiage\Sponsor\Module::class,
            'path'      => '../src/sponsor/Module.php',
        ],
        'user'  => [
            'className' => Actiage\User\Module::class,
            'path'      => '../src/user/Module.php',
        ],
        'front'  => [
            'className' => Actiage\Front\Module::class,
            'path'      => '../src/front/Module.php',
        ]
    ]
);
 try {
    if(ENVIRONMENT != DEVELOPMENT) {
        echo str_replace(['\n', '\r', '\t'], '', $application->handle($_SERVER['REQUEST_URI'])->getContent());
    } else {
        echo $application->handle($_SERVER['REQUEST_URI'])->getContent();
    }
 } catch (\Exception $e) {
    $debugFile = new Stream(BASE_PATH . '/tmp/logs/error.log');
 
    $message = get_class($e) . ': ' . $e->getMessage() . '\n' . ' File=' . $e->getFile() . '\n' . ' Line=' . $e->getLine() . '\n' . $e->getTraceAsString() . '\n';
    $message .= $_SERVER['REQUEST_URI'] . '\n';
    $logger = new Logger('errorLog', ['main' => $debugFile]);
    $logger->log(AbstractLogger::CRITICAL,$message);
    $debugFile->close();
}
 
KeyValue
_url/staff-consultas-medicos/carlos-gutierrez
KeyValue
USERnginx
HOME/var/lib/nginx
HTTP_COOKIEPHPSESSID=b9qt8ushbqvbnvj6blg8sni0tn
HTTP_ACCEPT_ENCODINGgzip, br, zstd, deflate
HTTP_USER_AGENTMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT*/*
HTTP_HOSTactiage.es
REDIRECT_STATUS200
SERVER_NAMEactiage.es
SERVER_PORT443
SERVER_ADDR51.77.247.31
REMOTE_PORT20107
REMOTE_ADDR3.149.254.146
SERVER_SOFTWAREnginx/1.20.1
GATEWAY_INTERFACECGI/1.1
HTTPSon
REQUEST_SCHEMEhttps
SERVER_PROTOCOLHTTP/2.0
DOCUMENT_ROOT/var/www/html/actiage/current/public
DOCUMENT_URI/index.php
REQUEST_URI/staff-consultas-medicos/carlos-gutierrez
SCRIPT_NAME/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHODGET
QUERY_STRING_url=/staff-consultas-medicos/carlos-gutierrez&
SCRIPT_FILENAME/var/www/html/actiage/current/public/index.php
APPLICATION_ENVproduction
FCGI_ROLERESPONDER
PHP_SELF/index.php
REQUEST_TIME_FLOAT1729559310.8786
REQUEST_TIME1729559310
#Path
0/var/www/html/actiage/releases/20241021152852/public/index.php
1/var/www/html/actiage/shared/environment.php
2/var/www/html/actiage/shared/klaviyo.php
3/var/www/html/actiage/releases/20241021152852/src/config/services.php
4/var/www/html/actiage/releases/20241021152852/src/config/router.php
5/var/www/html/actiage/releases/20241021152852/src/front/router.php
6/var/www/html/actiage/releases/20241021152852/src/admin/router.php
7/var/www/html/actiage/releases/20241021152852/src/doctor/router.php
8/var/www/html/actiage/releases/20241021152852/src/user/router.php
9/var/www/html/actiage/releases/20241021152852/src/sponsor/router.php
10/var/www/html/actiage/shared/config.php
11/var/www/html/actiage/releases/20241021152852/src/config/loader.php
12/var/www/html/actiage/shared/vendor/autoload.php
13/var/www/html/actiage/shared/vendor/composer/autoload_real.php
14/var/www/html/actiage/shared/vendor/composer/platform_check.php
15/var/www/html/actiage/shared/vendor/composer/ClassLoader.php
16/var/www/html/actiage/shared/vendor/composer/autoload_static.php
17/var/www/html/actiage/shared/vendor/symfony/polyfill-mbstring/bootstrap.php
18/var/www/html/actiage/shared/vendor/symfony/polyfill-mbstring/bootstrap80.php
19/var/www/html/actiage/shared/vendor/symfony/deprecation-contracts/function.php
20/var/www/html/actiage/shared/vendor/symfony/polyfill-ctype/bootstrap.php
21/var/www/html/actiage/shared/vendor/symfony/polyfill-ctype/bootstrap80.php
22/var/www/html/actiage/shared/vendor/react/promise/src/functions_include.php
23/var/www/html/actiage/shared/vendor/react/promise/src/functions.php
24/var/www/html/actiage/shared/vendor/symfony/polyfill-php80/bootstrap.php
25/var/www/html/actiage/shared/vendor/symfony/polyfill-intl-grapheme/bootstrap.php
26/var/www/html/actiage/shared/vendor/symfony/polyfill-intl-normalizer/bootstrap.php
27/var/www/html/actiage/shared/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php
28/var/www/html/actiage/shared/vendor/ralouphie/getallheaders/src/getallheaders.php
29/var/www/html/actiage/shared/vendor/symfony/string/Resources/functions.php
30/var/www/html/actiage/shared/vendor/myclabs/deep-copy/src/DeepCopy/deep_copy.php
31/var/www/html/actiage/shared/vendor/symfony/var-dumper/Resources/functions/dump.php
32/var/www/html/actiage/shared/vendor/guzzlehttp/guzzle/src/functions_include.php
33/var/www/html/actiage/shared/vendor/guzzlehttp/guzzle/src/functions.php
34/var/www/html/actiage/shared/vendor/psy/psysh/src/functions.php
35/var/www/html/actiage/shared/vendor/symfony/polyfill-php81/bootstrap.php
36/var/www/html/actiage/shared/vendor/digitalbazaar/json-ld/jsonld.php
37/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/_bootstrap.php
38/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/all.php
39/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/any.php
40/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/apply.php
41/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/assoc.php
42/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/butlast.php
43/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/complement.php
44/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/compose.php
45/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/constant.php
46/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/dissoc.php
47/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/do_if.php
48/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/each.php
49/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/filter.php
50/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/filter_fresh.php
51/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/filter_null.php
52/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/first.php
53/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/flat_map.php
54/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/flatten.php
55/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/get.php
56/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/get_each.php
57/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/get_in.php
58/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/group_by.php
59/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/key.php
60/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/identity.php
61/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/instance_of.php
62/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/last.php
63/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/map.php
64/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/memoize.php
65/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/not.php
66/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/partial.php
67/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/partition.php
68/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/pipe.php
69/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/reduce.php
70/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/reindex.php
71/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/repeat.php
72/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/rest.php
73/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/reverse.php
74/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/search.php
75/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/some.php
76/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/sort.php
77/var/www/html/actiage/shared/vendor/lambdish/phunctional/src/to_array.php
78/var/www/html/actiage/shared/vendor/mpdf/mpdf/src/functions.php
79/var/www/html/actiage/shared/vendor/phpunit/phpunit/src/Framework/Assert/Functions.php
80/var/www/html/actiage/shared/vendor/ramsey/uuid/src/functions.php
81/var/www/html/actiage/releases/20241021152852/src/front/Module.php
82/var/www/html/actiage/releases/20241021152852/src/front/Controller/Doctor/DoctorsConsultGetController.php
83/var/www/html/actiage/releases/20241021152852/src/front/Controller/BaseController.php
84/var/www/html/actiage/releases/20241021152852/src/Shared/plugins/TimeZonePlugin.php
85/var/www/html/actiage/releases/20241021152852/src/middleware/MiddleWareView.php
86/var/www/html/actiage/shared/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php
87/var/www/html/actiage/releases/20241021152852/src/Shared/library/Utils/Device.php
88/var/www/html/actiage/releases/20241021152852/src/Shared/models/Cookies.php
89/var/www/html/actiage/releases/20241021152852/src/Shared/models/ModelBase.php
90/var/www/html/actiage/releases/20241021152852/src/Shared/plugins/BotsPlugin.php
91/var/www/html/actiage/releases/20241021152852/src/Shared/plugins/RobotsPlugin.php
92/var/www/html/actiage/releases/20241021152852/src/Shared/plugins/RedisPlugin.php
93/var/www/html/actiage/releases/20241021152852/src/Shared/library/Utils/Image.php
94/var/www/html/actiage/releases/20241021152852/src/Shared/plugins/JsPlugin.php
95/var/www/html/actiage/shared/vendor/matthiasmullie/minify/src/JS.php
96/var/www/html/actiage/shared/vendor/matthiasmullie/minify/src/Minify.php
97/var/www/html/actiage/releases/20241021152852/src/Shared/plugins/CssPlugin.php
98/var/www/html/actiage/releases/20241021152852/src/Shared/models/Roles.php
99/var/www/html/actiage/releases/20241021152852/src/Shared/plugins/CommonPlugin.php
100/var/www/html/actiage/releases/20241021152852/src/Shared/models/Provincias.php
101/var/www/html/actiage/releases/20241021152852/src/Shared/plugins/SeoPlugin.php
102/var/www/html/actiage/releases/20241021152852/src/Shared/models/SemaforoCritical.php
103/var/www/html/actiage/releases/20241021152852/src/Shared/models/ConsultasMedicos.php
104/var/www/html/actiage/releases/20241021152852/src/front/views/doctors/consult.phtml
105/var/www/html/actiage/releases/20241021152852/src/front/views/layouts/default.phtml
106/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/robots.phtml
107/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/metas.phtml
108/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/analyticsG4.phtml
109/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/canonical.phtml
110/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/links.phtml
111/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/css.phtml
112/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/tagManagerHead.phtml
113/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/pixelFacebook.phtml
114/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/pixelTiktok.phtml
115/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/hotjar.phtml
116/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/prescripts.phtml
117/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/tagManagerBody.phtml
118/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/header.phtml
119/var/www/html/actiage/releases/20241021152852/src/Shared/plugins/CartPlugin.php
120/var/www/html/actiage/releases/20241021152852/src/Shared/helpers/Vistas.php
121/var/www/html/actiage/releases/20241021152852/src/Shared/models/Paises.php
122/var/www/html/actiage/releases/20241021152852/src/front/views/partials/common/menu-united-states.phtml
Memory
Usage2097152