Appel : +241 74 670 077 Email : contact@e3mg.ga
  • Actualités
  • concours
  • Evénements
  • Connexion
logo
  • Whoops! There was an error.
    Whoops \ Exception \ ErrorException (E_WARNING)
    Trying to access array offset on false
    Whoops\Exception\ErrorException thrown with message "Trying to access array offset on false" Stacktrace: #3 Whoops\Exception\ErrorException in /home/u116700991/domains/e3mg.ga/public_html/views/pages/event-single.php:45 #2 Whoops\Run:handleError in /home/u116700991/domains/e3mg.ga/public_html/views/pages/event-single.php:45 #1 require_once in /home/u116700991/domains/e3mg.ga/public_html/configs/route.php:161 #0 {closure} in /home/u116700991/domains/e3mg.ga/public_html/public/index.php:45
    Stack frames (4)
    3
    Whoops\Exception\ErrorException
    …/views/pages/event-single.php45
    2
    Whoops\Run handleError
    …/views/pages/event-single.php45
    1
    require_once
    …/configs/route.php161
    0
    {closure}
    …/public/index.php45
    /home/u116700991/domains/e3mg.ga/public_html/views/pages/event-single.php
     
    $formatterMonth = new \IntlDateFormatter(
        'fr_FR', 
        \IntlDateFormatter::NONE, 
        \IntlDateFormatter::NONE,
        'Europe/Paris',
        \IntlDateFormatter::GREGORIAN,
        'MMM'
    );
     
    $formatterYear = new \IntlDateFormatter(
        'fr_FR', 
        \IntlDateFormatter::NONE, 
        \IntlDateFormatter::NONE,
        'Europe/Paris',
        \IntlDateFormatter::GREGORIAN,
        'yyyy'
    );
     
    $dateDebut = new DateTime($result['date_debut']);
    $dateFin = new DateTime($result['date_fin']);
     
    $url = "https://e3mg.ga/event-single-".$result['event_id'];
    $encodedUrl = urlencode($url);
    $encodedTitle = urlencode($result['titre']);
     
    // Liens de partage
    $whatsappLink = "https://wa.me/?text=$encodedTitle%20$encodedUrl";
    $facebookLink = "https://www.facebook.com/sharer/sharer.php?u=$encodedUrl";
    ?>
     
    <!-- ============================================
         PAGE TITLE SECTION - Bannière Événement
         ============================================ -->
    <section class="page-title-section overlay" data-background="/images/backgrounds/batiment-e3mg.jpg">
        <div class="container">
            <div class="row">
                <div class="col-md-10">
                    <ul class="list-inline custom-breadcrumb">
                        <li class="list-inline-item">
    /home/u116700991/domains/e3mg.ga/public_html/views/pages/event-single.php
     
    $formatterMonth = new \IntlDateFormatter(
        'fr_FR', 
        \IntlDateFormatter::NONE, 
        \IntlDateFormatter::NONE,
        'Europe/Paris',
        \IntlDateFormatter::GREGORIAN,
        'MMM'
    );
     
    $formatterYear = new \IntlDateFormatter(
        'fr_FR', 
        \IntlDateFormatter::NONE, 
        \IntlDateFormatter::NONE,
        'Europe/Paris',
        \IntlDateFormatter::GREGORIAN,
        'yyyy'
    );
     
    $dateDebut = new DateTime($result['date_debut']);
    $dateFin = new DateTime($result['date_fin']);
     
    $url = "https://e3mg.ga/event-single-".$result['event_id'];
    $encodedUrl = urlencode($url);
    $encodedTitle = urlencode($result['titre']);
     
    // Liens de partage
    $whatsappLink = "https://wa.me/?text=$encodedTitle%20$encodedUrl";
    $facebookLink = "https://www.facebook.com/sharer/sharer.php?u=$encodedUrl";
    ?>
     
    <!-- ============================================
         PAGE TITLE SECTION - Bannière Événement
         ============================================ -->
    <section class="page-title-section overlay" data-background="/images/backgrounds/batiment-e3mg.jpg">
        <div class="container">
            <div class="row">
                <div class="col-md-10">
                    <ul class="list-inline custom-breadcrumb">
                        <li class="list-inline-item">
    /home/u116700991/domains/e3mg.ga/public_html/configs/route.php
    
    $router->map('GET','/login',function(){
        require_once "../views/auth/login.php";
    },'login');
    $router->map('POST','/connexion',function(){
        require_once "../controllers/connexion.php";
    },'connexion');
    
    
    $router->map('GET', '/logout', function () {
        require_once '../controllers/logout.php';
    }, 'logout');
    //Route pour les évènements
    //front end
    $router->map('GET','/event',function(){
        require_once "../views/pages/events.php";
    },'event');
    
    $router->map('GET','/event-single-[i:id]',function($id){
        require_once "../views/pages/event-single.php";
    },'event.single');
    
    
    //back end of event
    $router->map('GET', '/list-event', function () {
        require_once "../views/event/index.php";
    }, 'list.event');
    
    $router->map('GET', '/add-event', function () {
        require_once "../views/event/add.php";
    }, 'add.event');
    
    $router->map('GET', '/edit-event-[i:id]', function ($id) {
        require_once "../views/event/edit.php";
    }, 'edit.event');
    
    $router->map('POST', '/Update-event-[i:id]', function ($id) {
        require_once "../controllers/process.php";
    }, 'update.event');
    
    
    /home/u116700991/domains/e3mg.ga/public_html/public/index.php
    } else {
        // En production, log les erreurs sans les afficher
        ini_set('display_errors', 0);
        ini_set('log_errors', 1);
        error_reporting(E_ALL);
        
    }
     
     
    $router = new AltoRouter();
    require __DIR__.'/../configs/route.php';
     
     
     
    $match = $router->match();
     
    // call closure or throw 404 status
    if(is_array($match)){
        if(is_callable( $match['target'] ) ) {
            call_user_func_array( $match['target'], $match['params'] );
        } else {
            // no route was matched
            // $params = $match['params'];
            // require "../templates/{$match['target']}.php";
            header( $_SERVER["SERVER_PROTOCOL"] . ' 404 Not Found');
        }
    }else{
        include "../views/error/404.view.php";
    }
     

    Environment & details:

    empty
    empty
    empty
    empty
    Key Value
    csrf_token c070336349c02b9cf463c3d5669b3b7e1c543ee435ba5014c3c1d417f3dc13b9
    Key Value
    LSPHP_ProcessGroup on
    PATH /usr/local/bin:/bin:/usr/bin
    HTTP_ACCEPT */*
    HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
    HTTP_HOST www.e3mg.ga
    HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
    DOCUMENT_ROOT /home/u116700991/domains/e3mg.ga/public_html
    REMOTE_ADDR 216.73.216.171
    REMOTE_PORT 36826
    SERVER_ADDR 195.35.49.170
    SERVER_NAME www.e3mg.ga
    SERVER_ADMIN
    SERVER_PORT 443
    REQUEST_SCHEME https
    REQUEST_URI /event-single-5
    REDIRECT_URL /public/event-single-5
    REDIRECT_REQUEST_METHOD GET
    HTTPS on
    CRAWLER_USLEEP 1000
    CRAWLER_LOAD_LIMIT_ENFORCE 25
    H_PLATFORM Hostinger
    H_TYPE shared
    H_CANARY false
    H_STAGING false
    REDIRECT_STATUS 200
    UNIQUE_ID 3J-LI64xQdduz-g5M6i2dZ4D
    X_SPDY HTTP2
    SSL_PROTOCOL TLSv1.3
    SSL_CIPHER TLS_AES_256_GCM_SHA384
    SSL_CIPHER_USEKEYSIZE 256
    SSL_CIPHER_ALGKEYSIZE 256
    SCRIPT_FILENAME /home/u116700991/domains/e3mg.ga/public_html/public/index.php
    QUERY_STRING
    SCRIPT_URI https://www.e3mg.ga/event-single-5
    SCRIPT_URL /event-single-5
    SCRIPT_NAME /public/index.php
    SERVER_PROTOCOL HTTP/1.1
    SERVER_SOFTWARE LiteSpeed
    REQUEST_METHOD GET
    X-LSCACHE on,crawler,esi,combine
    PHP_SELF /public/index.php
    REQUEST_TIME_FLOAT 1773509557.0885
    REQUEST_TIME 1773509557
    APP_ENV development
    APP_DEBUG false
    APP_URL
    DB_HOST localhost
    DB_NAME u116700991_e3mg_site
    DB_USER u116700991_e3mg_site
    DB_PASS /*fWo3Zs
    MAIL_HOST smtp.example.com
    MAIL_PORT 587
    MAIL_USERNAME
    MAIL_PASSWORD
    MAIL_FROM_ADDRESS contact@e3mg.ga
    MAIL_FROM_NAME E3MG
    Key Value
    APP_ENV development
    APP_DEBUG false
    APP_URL
    DB_HOST localhost
    DB_NAME u116700991_e3mg_site
    DB_USER u116700991_e3mg_site
    DB_PASS /*fWo3Zs
    MAIL_HOST smtp.example.com
    MAIL_PORT 587
    MAIL_USERNAME
    MAIL_PASSWORD
    MAIL_FROM_ADDRESS contact@e3mg.ga
    MAIL_FROM_NAME E3MG
    0. Whoops\Handler\PrettyPageHandler