Whoops \ Exception \ ErrorException (E_NOTICE)
Undefined index: psicologia-del-benessere Whoops\Exception\ErrorException thrown with message "Undefined index: psicologia-del-benessere" Stacktrace: #3 Whoops\Exception\ErrorException in /var/www/clients/client3/web1/web/private/andosmilano/libraries/Attivita.php:22 #2 Whoops\Run:handleError in /var/www/clients/client3/web1/web/private/andosmilano/libraries/Attivita.php:22 #1 Andosmilano\Attivita:execAction in /var/www/clients/client3/web1/web/private/andosmilano/procedures/bootstrap.php:41 #0 require in /var/www/clients/client3/web1/web/index.php:8
Stack frames (4)
3
Whoops
\
Exception
\
ErrorException
/
var
/
www
/
clients
/
client3
/
web1
/
web
/
private
/
andosmilano
/
libraries
/
Attivita.php
22
2
Whoops
\
Run
handleError
/
var
/
www
/
clients
/
client3
/
web1
/
web
/
private
/
andosmilano
/
libraries
/
Attivita.php
22
1
Andosmilano
\
Attivita
execAction
/
var
/
www
/
clients
/
client3
/
web1
/
web
/
private
/
andosmilano
/
procedures
/
bootstrap.php
41
0
require
/
var
/
www
/
clients
/
client3
/
web1
/
web
/
index.php
8
/
var
/
www
/
clients
/
client3
/
web1
/
web
/
private
/
andosmilano
/
libraries
/
Attivita.php
 * manages a PHPCraft subject
 * @author vuk <http://vuk.bg.it>
 */
 
namespace Andosmilano;
 
use PHPCraft\Template\TemplateInterface;
use PHPCraft\Cookie\CookieInterface;
use PHPCraft\Subject\Subject;
 
class Attivita extends Subject
{
    use AndosmilanoTrait;
    
    /**
     * exec display
     */
    public function execAction()
    {
        $this->templateParameters['pageTitle'] = $this->translations['frontend']['navigation'][$this->action];
        $this->templateParameters['topImage'] = 'attivita.jpg';
        parent::execAction();
    }
 
    /**
     * exec display ELIMINATO 2019/09
     */
    /*protected function execProgettoInOut()
    {
        //render
        $this->renderTemplate(sprintf('%s/%s/%s/%s',$this->area, $this->subject, $this->language, $this->action));
    }*/
    
    /**
     * exec display
     */
    protected function execTerapiaDellaRisata()
    {
        $this->templateParameters['topImage'] = 'terapia-della-risata.png';
        //render
/
var
/
www
/
clients
/
client3
/
web1
/
web
/
private
/
andosmilano
/
libraries
/
Attivita.php
 * manages a PHPCraft subject
 * @author vuk <http://vuk.bg.it>
 */
 
namespace Andosmilano;
 
use PHPCraft\Template\TemplateInterface;
use PHPCraft\Cookie\CookieInterface;
use PHPCraft\Subject\Subject;
 
class Attivita extends Subject
{
    use AndosmilanoTrait;
    
    /**
     * exec display
     */
    public function execAction()
    {
        $this->templateParameters['pageTitle'] = $this->translations['frontend']['navigation'][$this->action];
        $this->templateParameters['topImage'] = 'attivita.jpg';
        parent::execAction();
    }
 
    /**
     * exec display ELIMINATO 2019/09
     */
    /*protected function execProgettoInOut()
    {
        //render
        $this->renderTemplate(sprintf('%s/%s/%s/%s',$this->area, $this->subject, $this->language, $this->action));
    }*/
    
    /**
     * exec display
     */
    protected function execTerapiaDellaRisata()
    {
        $this->templateParameters['topImage'] = 'terapia-della-risata.png';
        //render
/
var
/
www
/
clients
/
client3
/
web1
/
web
/
private
/
andosmilano
/
procedures
/
bootstrap.php
    }
    if(!in_array(LANGUAGE, $configuration['languages'])) throw new Exception("language not into configured languages");
    //load specific area configuration and procedure if needed
    if($configuration['areas'][AREA]['configuration']) {
        require sprintf('private/%s/configurations/%s.php', APPLICATION, AREA);
    }
    if($configuration['areas'][AREA]['procedure']) {
        require sprintf('private/%s/procedures/%s.php', APPLICATION, AREA);
    }
    //require subject procedure
    $subject = require sprintf('private/%s/procedures/%s/%s.php', APPLICATION, AREA, SUBJECT);
    //load specific application and area translations if needed
    if($configuration['locale']) {
        $subject->addApplicationTranslations('application', 'application.ini');
    }
    if($configuration['areas'][AREA]['locale']) {
        $subject->addApplicationTranslations(AREA, sprintf('%s.ini', AREA));
    }
    //subject action
    $subject->execAction();
} else {
}
//output
    // set headers
foreach ($http->response->getHeaders() as $name => $values) {
    foreach ($values as $value) {
        @header(sprintf('%s: %s', $name, $value), false);
    }
}
    //check status code
switch($http->response->getStatusCode()) {
    case 200:
    break;
    default:
        @header($_SERVER["SERVER_PROTOCOL"]." " . $http->response->getStatusCode()); 
    break;
}
    // output body
$http->response = $http->response->withBody($http->stream);
echo $http->response->getBody();
/
var
/
www
/
clients
/
client3
/
web1
/
web
/
index.php
<?php
ini_set("display_errors", 1);
error_reporting(E_ALL);
//application name and namesapce
define('APPLICATION','andosmilano');
define('APPLICATION_NAMESPACE','Andosmilano');
//bootstrap
require sprintf('private/%s/procedures/bootstrap.php', APPLICATION);

Environment & details:

empty
empty
empty
empty
empty
Key Value
PHP_FCGI_MAX_REQUESTS 5000
PHPRC /var/www/conf/web1
PWD /var/www/php-fcgi-scripts/web1
TMPDIR /var/www/clients/client3/web1/tmp
TEMP /var/www/clients/client3/web1/tmp
SHLVL 0
TMP /var/www/clients/client3/web1/tmp
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHP_DOCUMENT_ROOT /var/www/clients/client3/web1
CONTENT_LENGTH 0
HTTP_CONNECTION close
SCRIPT_NAME /index.php
REQUEST_URI /attivita/psicologia-del-benessere
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/2.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /attivita/psicologia-del-benessere
REMOTE_PORT 37924
SCRIPT_FILENAME /var/www/andosmilano.it/web/index.php
SERVER_ADMIN webmaster@andosmilano.it
CONTEXT_DOCUMENT_ROOT /var/www/andosmilano.it/web
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /var/www/andosmilano.it/web
REMOTE_ADDR 44.212.26.248
SERVER_PORT 443
SERVER_ADDR 95.217.177.61
SERVER_NAME andosmilano.it
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_HOST andosmilano.it
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
SSL_TLS_SNI andosmilano.it
HTTPS on
H2_STREAM_TAG 1268127-2434-3
H2_STREAM_ID 3
H2_PUSHED_ON
H2_PUSHED
H2_PUSH off
H2PUSH off
HTTP2 on
SCRIPT_URI https://andosmilano.it/attivita/psicologia-del-benessere
SCRIPT_URL /attivita/psicologia-del-benessere
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI andosmilano.it
REDIRECT_HTTPS on
REDIRECT_H2_STREAM_TAG 1268127-2434-3
REDIRECT_H2_STREAM_ID 3
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSH off
REDIRECT_H2PUSH off
REDIRECT_HTTP2 on
REDIRECT_SCRIPT_URI https://andosmilano.it/attivita/psicologia-del-benessere
REDIRECT_SCRIPT_URL /attivita/psicologia-del-benessere
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711622857.887
REQUEST_TIME 1711622857
empty
0. Whoops\Handler\PrettyPageHandler