Whoops \ Exception \ ErrorException (E_WARNING)
Undefined array key "id" Whoops\Exception\ErrorException thrown with message "Undefined array key "id"" Stacktrace: #5 Whoops\Exception\ErrorException in /home/ortolin2/domains/downarowicz-ortholine.pl/public_html/modules/persons/persons.class.php:97 #4 Whoops\Run:handleError in /home/ortolin2/domains/downarowicz-ortholine.pl/public_html/modules/persons/persons.class.php:97 #3 Persons:get in /home/ortolin2/domains/downarowicz-ortholine.pl/public_html/modules/persons/persons.website.php:20 #2 include_once in /home/ortolin2/domains/downarowicz-ortholine.pl/public_html/include/content.php:127 #1 include_once in /home/ortolin2/domains/downarowicz-ortholine.pl/public_html/page.php:6 #0 include in /home/ortolin2/domains/downarowicz-ortholine.pl/public_html/index.php:120
Stack frames (6)
5
Whoops\Exception\ErrorException
/modules/persons/persons.class.php97
4
Whoops\Run handleError
/modules/persons/persons.class.php97
3
Persons get
/modules/persons/persons.website.php20
2
include_once
/include/content.php127
1
include_once
/page.php6
0
include
/index.php120
/home/ortolin2/domains/downarowicz-ortholine.pl/public_html/modules/persons/persons.class.php
        );
    }
 
 
    public function get( $id = NULL )
    {
        if(is_null($id)) {
            $Result = Db::exec("*" , self::$table , "ORDER BY priority");
            if(!empty($Result)) {
                foreach($Result as $k=>$i) {
                    if( PersonsGallery::hasGallery( $i['id'] ) == true) {
                        $Result[$k]['gallery'] = PersonsGallery::getGallery( $i['id'] );
                    }
                }
                return $Result;
            }
        } else {
            $Result = Db::row("*" , self::$table , "WHERE id='".$id."'");
            $Result['edit'] = true;
            if( PersonsGallery::hasGallery( $Result['id'] ) == true) {
                $Result['gallery'] = PersonsGallery::getGallery( $Result['id'] );
            }
            return $Result;
        }
    }
 
    public function getByType( $type = "L" )
    {
        $Result = Db::exec("*" , self::$table , "WHERE type='" . $type . "' ORDER BY priority");
        if(!empty($Result)) {
            foreach($Result as $k=>$i) {
                if( PersonsGallery::hasGallery( $i['id'] ) == true) {
                    $Result[$k]['gallery'] = PersonsGallery::getGallery( $i['id'] );
                }
            }
            return $Result;
        }
    }
 
    public function carousel()
/home/ortolin2/domains/downarowicz-ortholine.pl/public_html/modules/persons/persons.class.php
        );
    }
 
 
    public function get( $id = NULL )
    {
        if(is_null($id)) {
            $Result = Db::exec("*" , self::$table , "ORDER BY priority");
            if(!empty($Result)) {
                foreach($Result as $k=>$i) {
                    if( PersonsGallery::hasGallery( $i['id'] ) == true) {
                        $Result[$k]['gallery'] = PersonsGallery::getGallery( $i['id'] );
                    }
                }
                return $Result;
            }
        } else {
            $Result = Db::row("*" , self::$table , "WHERE id='".$id."'");
            $Result['edit'] = true;
            if( PersonsGallery::hasGallery( $Result['id'] ) == true) {
                $Result['gallery'] = PersonsGallery::getGallery( $Result['id'] );
            }
            return $Result;
        }
    }
 
    public function getByType( $type = "L" )
    {
        $Result = Db::exec("*" , self::$table , "WHERE type='" . $type . "' ORDER BY priority");
        if(!empty($Result)) {
            foreach($Result as $k=>$i) {
                if( PersonsGallery::hasGallery( $i['id'] ) == true) {
                    $Result[$k]['gallery'] = PersonsGallery::getGallery( $i['id'] );
                }
            }
            return $Result;
        }
    }
 
    public function carousel()
/home/ortolin2/domains/downarowicz-ortholine.pl/public_html/modules/persons/persons.website.php
<?php
Kernel::schema("content-single");
Kernel::module("persons");
Kernel::template("view.smarty");
 
$Pages = [
    'id' => 3, 'parent' => 2, 'name' => 'O mnie', 'rewrite' => 'o-mnie',    
];
$smarty->assign("content" , $Pages);
 
Kernel::addPath(array(
    'name' => $Pages['name'],
    'url' => $app_url . $Pages['rewrite'],
    'main' => true
));
        
switch( $command )
{
    case "view":
        $smarty->assign("view" , $v = $persons->get( $id ));
        $smarty->assign("images" , $pg->getGallery( $id ));
        
        Kernel::addPath(array(
            'name' => $v['name'],
            'url' => null,
            'main' => true
        ));
        
        Kernel::addMeta( 
            (empty($Pages['meta_title']) ? $config['service_meta_title'] : $Pages['meta_title']), 
            (empty($Pages['meta_desc']) ? $config['service_meta_description'] : $Pages['meta_desc']), 
            (empty($Pages['meta_keys']) ? $config['service_meta_keywords'] : $Pages['meta_keys']), 
            (empty($Pages['meta_index']) ? 'index' : $Pages['meta_index']), 
            (empty($Pages['meta_follow']) ? 'follow' : $Pages['meta_follow'])
        );
        
        
    break;
}
    
/home/ortolin2/domains/downarowicz-ortholine.pl/public_html/include/content.php
        (empty($Pages['meta_desc']) ? $config['service_meta_description'] : $Pages['meta_desc']),
        '', //(empty($Pages['meta_keys']) ? $config['service_meta_keywords'] : $Pages['meta_keys']),
        (empty($Pages['meta_index']) ? 1 : 0),
        (empty($Pages['meta_follow']) ? 1 : 0)
    );
 
    $smarty->assign("content", $Pages);
} else {
    if (!empty($route->results)) {
        $command     = $route->results['command'];
        $module     = $route->results['module'];
        $file         = $route->results['file'];
        $mirror     = (!empty($route->results['mirror']) ? true : false);
        $id         = (!empty($route->results['id']) ? $route->results['id'] : null);
 
        // Nowy system modułów
        if (System::file_exists($app_path . 'modules/' . $module . '/frontend/' . $file . '.frontend.php') == true) {
            include_once $app_path . 'modules/' . $module . '/frontend/' . $file . '.frontend.php';
        } else {
            include_once $route->results['url'];
        }
    } else {
        http_response_code(404);
        include $app_path . 'error.php';
    }
}
 
/home/ortolin2/domains/downarowicz-ortholine.pl/public_html/page.php
<?php
if($_SERVER['REQUEST_URI'] == "/") {
    Kernel::schema("main");
}
 
include_once $app_path . "include/content.php";
 
// Get META
$smarty->assign("meta" , Kernel::getMeta());
$smarty->assign("tpl" , $tpl = Kernel::getTpl());
$smarty->assign("expires" , date('D, d M Y H:i:s', strtotime("+14 days")) . ' GMT');
$smarty->assign("error" , Kernel::getMessage("ERROR"));
$smarty->assign("notice" , Kernel::getMessage("NOTICE"));
$smarty->assign("javascript" , Kernel::getJs());
$smarty->assign("css" , Kernel::getCss());
$smarty->assign("breadcrumb" , Kernel::viewPath());
$smarty->assign("is_main" , $route->isMain);
$smarty->assign("messages" , array(
    "notice" => Kernel::getMessage("NOTICE"),
    "error" => Kernel::getMessage("ERROR"),
    "warning" => Kernel::getMessage("WARNING"),
    "info" => Kernel::getMessage("INFO")
));
$smarty->display($app_path . "templates/website/index.smarty");
 
Kernel::clearMessages();
 
/home/ortolin2/domains/downarowicz-ortholine.pl/public_html/index.php
    exit;
} elseif( $route->isCron == true ) {
    include $app_path . "cron/" . $route->path_array[1] . ".php";
    exit;
} elseif( $route->isUpload == true) {
    if (!empty($debug)) {
        $whoops = new \Whoops\Run();
        $whoops->pushHandler(new \Whoops\Handler\JsonResponseHandler());
        $whoops->register();
    }
    include $app_path . "upload.php";
    exit;
} else {
    Kernel::addPath(array(
        'name' => '<i class="fas fa-home"></i> Strona główna',
        'url' => $app_url,
        'main' => false
    ));
 
    include $app_path . "page.php";
}
 

Environment & details:

empty
empty
empty
empty
Key Value
lng Array ( [code] => pl [translate] => Array ( [cms] => Array ( [h_contact] => Kontakt [h_contact_s] => dane kontaktowe [h_map] => Mapa dojazdu [h_map_s] => kliknij, aby powiększyć [h_menu] => Menu [h_menu_s] => wybierz temat [h_copyright] => projekt i realizacja [h_write_to_us] => Napisz do nas [h_move_down_page] => zjedź w dół [h_our_services] => Nasze usługi [h_our_offer] => CO OFERUJEMY? [h_our_team] => NASZ ZESPÓŁ [h_join_us] => Dołącz do nas [h_phone] => Telefon [h_success] => Sukces! [error_header] => Wystąpiły błędy [error_position] => musisz wybrać interesujące Cię stanowisko [error_full_name] => musisz podać swoje imię i nazwisko [error_email] => musisz podać swój adres e-mail [error_phone] => musisz podać swój numer telefonu [error_cv_file] => musisz załączyć swoje CV [btn_back] => Wstecz [btn_next] => Dalej [btn_details] => Szczegóły [btn_check_offer] => Sprawdź aktualne oferty [btn_send_cv] => Prześlij swoje CV [btn_send] => Wyślij [btn_write_to_us] => Napisz do nas [btn_see_also] => Zobacz także [contact_business_name] => Nazwa firmy [contact_first_last_name] => Imię i nazwisko [contact_email_address] => Adres e-mail [contact_phone_number] => Numer telefonu [contact_message] => Treść wiadomości [contact_h_0] => Dane rejestrowe [contact_h_1] => Siedziba firmy [contact_h_2] => Siedziba biura [contact_h_3] => Telefon [contact_h_4] => NIP [contact_h_5] => KRS [contact_h_6] => REGON [contact_h_7] => Kapitał zakładowy spółki [cookie_bar_text] => Uwaga! Nasz serwis używa plików cookies. Brak zmian ustawień przeglądarki oznacza zgodę na ich użycie. Więcej informacji o polityce plików cookie można znaleźć [cookie_bar_link_text] => Nie pokazuj więcej tego komunikatu. [cookie_bar_link] => tutaj [jobs_header] => Prześlij nam swoje CV [jobs_position_name] => Dotyczy stanowiska [jobs_include_cv] => Dołącz CV [jobs_include_motivation_letter] => Dołącz list motywacyjny [jobs_agreement] => Wyrażam zgodę na przetwarzanie moich danych osobowych, zawartych w niniejszej ofercie pracy, dla potrzeb niezbędnych do realizacji procesu rekrutacji (zgodnie z Ustawą z dn. 29.08.97 r. o Ochronie Danych Osobowych Dz. U. Nr 133 poz. 883). [jobs_send_cv] => Wyślij CV ) ) )
lng_admin Array ( [code] => pl [translate] => Array ( [system] => Array ( [menu_config] => Konfiguracja [menu_config_main] => Podstawowa [menu_config_contact] => Dane kontaktowe [menu_config_logo] => Logo firmy [menu_config_baner_eu] => Baner EU [menu_config_social] => Social Media [menu_config_seo] => Seo / Meta [menu_config_static_text] => Treści statyczne [menu_config_static_email] => Wiadomości e-mail [menu_config_payments] => Konto Przelewy24 [menu_config_fakturownia] => Konto Fakturownia [menu_config_shop] => Konfiguracja sklepu [menu_config_advanced] => Opcje zaawansowane [menu_config_advanced_users] => Użytkownicy [menu_config_advanced_smtp] => Konto SMTP [menu_config_advanced_newsletter] => Newsletter [menu_config_advanced_newsletter_unconfirmed] => Newsletter - niepotwierdzone [menu_content] => Zarządzanie menu [config_basic_title] => Konfiguracja podstawowa [config_basic_default_email] => Domyślny adres e-mail [config_basic_default_email_title] => Wiadomości z formularza kontaktowego zostaną wysłane na ten adres e-mail [config_basic_service_block] => Tryb konserwacji [config_basic_service_block_title] => Włącz tę opcję, aby przejść do trybu konserwacji [config_basic_service_block_text] => Tekst trybu konserwacji [config_basic_google_stats] => Google Analitics [config_basic_google_stats_text] => Proszę wkleić kod identyfikatora Google Statystyki (i.e.: UA-xxxxxxxx-x) [config_basic_google_webmaster] => Narzędzie Google Webmaster Tools [config_basic_google_webmaster_text] => Proszę wkleić tutaj kod Google Webmaster Tools [config_basic_google_tags] => Google Tags Manager [config_basic_google_tags_text] => Proszę wkleić wygenerowany kod Google Tags Manager [config_basic_google_maps] => Klucz API Google Maps [google_api_key_text] => Proszę wkleić klucz API Google Maps [config_basic_google_recaptcha_key] => Klucz Recaptcha [config_basic_google_recaptcha_key_text] => Proszę wkleić kod klucza Recaptcha [config_basic_google_recaptcha_secret] => Recaptcha_secret_key [config_basic_google_recaptcha_secret_text] => Proszę wkleić kod Recaptcha Secret Key [config_social_title] => Konfiguracja adresów kont serwisów społecznościowych [config_social_help] => Wprowadź odpowiedni adres URL mediów społecznościowych [config_seo_title] => Domyślna konfiguracja SEO [users_mod_name] => Moduł użytkownika [users_var_types] => Array ( [0] => Array ( [id] => ADMIN [name] => Administrator ) [1] => Array ( [id] => MOD [name] => Moderator ) ) [users_title] => Lista użytkownika [users_login] => Login [users_account_type] => Typ konta [users_full_name] => Imię i nazwisko [users_first_name] => Imię [users_last_name] => Nazwisko [users_last_login] => Ostatnie logowanie [users_password] => Hasło [users_photo_title] => Awatar użytkownika [users_change_password_title] => Zmień hasło użytkownika [users_new_password] => Wprowadź nowe hasło [users_new_password_repeat] => Powtórz hasło [users_generated_password] => Generuj hasło [users_permissions_title] => Users access permissions [users_permissions_popover] => Zaznacz tę opcję, aby umożliwić użytkownikowi dostęp do wybranego elementu menu [users_account_language] => Język PA [content_page_description] => Krótki opis strony [content_page_banner] => Baner strony [content_link_name] => Nazwa linku [content_link_name_hover] => Nazwa odesłania do strony, np. index.html - nazwa powinna zawierać <b> nie zawierać </ b> znaków specjalnych, spacji lub dużych liter [content_text] => Zawartość strony [content_list] => Lista stron [content_editable] => Można edytować [content_editable_hover] => Zaznacz tą opcję, aby ograniczyć opcję edycji tej strony. Najczęściej opcja ta jest zaznaczona, gdy wybrano dodatkowy komponent. [content_visibility_hover] => Ten parametr określa, czy strona będzie dostępna dla użytkowników [content_show_top] => Pokaż w górnym menu [content_show_top_hover] => Czy ta strona pojawi się w górnym menu strony? [content_show_bottom] => Pokaż w menu stopki [content_show_bottom_hover] => Czy ta strona pojawi się w dolnym menu (w stopce)? [content_module] => Dodatkowy komponent [content_module_hover] => <b>Tylko dla zaawansowanych!</b> Wybierz dodatkowy komponent, który ma być przydzielony do tej strony. Pliki znajdują się w katalogu <em>/include/mods/</em>. [content_limited_edit] => Limited edition ability [content_pinned_module] => Podpięty moduł [content_pinned_module_text] => Moduł [content_gallery] => Galeria zdjęć [content_gallery_hover] => Podpina na dole strony moduł umożliwiający umieszczanie galerii zdjęć [content_download] => Pliki do pobrania [content_download_hover] => Podpina na dole strony moduł umożliwiający umieszczanie plików do pobrania [static_texts_title_list] => Listed static texts [static_texts_info_description] => Informacja dotycząca pola [static_emails_title_list] => Predefiniowane wiadomości e-mail [error_login_empty] => Musisz podać login [error_login_length] => login musi się składać z minimum 3 znaków [error_password_empty] => Musisz podać hasło [error_password_length] => hasło musi się składać z minimum 3 znaków [error_login_invalid_data] => Błędne logowanie - dane są nieprawidłowe [error_name_empty] => musisz podać imię i nazwisko użytkownika [error_email_empty] => musisz podać adres e-mail użytkownika [error_type_empty] => musisz wybrać typ użytkownika [error_password_not_match] => Podane hasła różnią się od siebie ) [content] => Array ( [menu_content] => Zarządzanie menu [content_page_description] => Krótki opis strony [content_page_banner] => Baner strony [content_link_name] => Link name [content_link_name_text] => Nazwa odesłania do strony, np. index.html - nazwa powinna zawierać <b> nie zawierać </ b> znaków specjalnych, spacji lub dużych liter [content_text] => Zawartość strony [content_list] => Lista stron [content_options] => Opcje strony [content_editable] => Można edytować [content_editable_hover] => Check this option if the page displays the content of the module, and you will not see the dedicated content page. [content_visibility_hover] => Ten parametr określa, czy strona będzie dostępna dla użytkowników [content_module] => Wybierz komponent [content_module_hover] => <b>Tylko dla zaawansowanych!</b> Wybierz komponent do podpięcia pod wybraną stronę. Zostanie on dołączony do strony. [content_limited_edit] => Ograniczone opcje edycji [content_pinned_module] => Podpięty moduł [content_pinned_module_text] => Moduł [content_gallery] => Galeria zdjęć [content_gallery_hover] => Po włączeniu tej opcji będzie możliwe dodać pod treścią galerię zdjęć [content_download] => Pliki do pobrania [content_download_hover] => Po włączeniu tej opcji będzie możliwe umieszczanie na tej podstronie pliki do pobrania [content_blocks] => Bloki na stronie [content_blocks_hover] => Po włączeniu tej opcji będzie możliwe umieszczanie na tej podstronie predefiniowane bloki ) [content_sections] => Array ( [section_select] => Przypisz do sekcji [section_select_text] => Ustaw sekcję do której chcesz przypisać tą pozycję menu ) [news] => Array ( [menu_name] => Aktualności [months_names] => Array ( [1] => Styczeń [2] => Luty [3] => Marzec [4] => Kwiecień [5] => Maj [6] => Czerwiec [7] => Lipiec [8] => Sierpień [9] => Wrzesień [10] => Październik [11] => Listopad [12] => Grudzień ) [week_names] => Array ( [1] => Poniedziałek [2] => Wtorek [3] => Środa [4] => Czwartek [5] => Piątek [6] => Sobota [7] => Niedziela ) [table_icon] => Ikona [table_photo] => Zdjęcie [table_title] => Tytuł [table_status] => Widoczność [table_preface] => Treść wstępu [table_content] => Treść właściwa [btn_add_news] => Utwórz newsa ) [gallerysimple] => Array ( [gallery_menu] => Galeria zdjęć ) ) )
Key Value
PATH /usr/local/bin:/usr/bin:/bin
LD_PRELOAD /usr/local/lib/h88/av.so
PHP_INI_SCAN_DIR :/etc/configs/users/ortolin2/php/www.downarowicz-ortholine.pl/
HTTP_ACCEPT */*
HTTP_HOST downarowicz-ortholine.pl
HTTP_USER_AGENT claudebot
DOCUMENT_ROOT /home/ortolin2/domains/downarowicz-ortholine.pl/public_html
REMOTE_ADDR 44.201.99.133
REMOTE_PORT 54610
SERVER_ADDR 195.78.66.236
SERVER_NAME downarowicz-ortholine.pl
SERVER_ADMIN webmaster@downarowicz-ortholine.pl
SERVER_PORT 80
REQUEST_SCHEME http
REQUEST_URI /o/mariia-furhala-i6
REDIRECT_URL /o/mariia-furhala-i6
REDIRECT_REQUEST_METHOD GET
REDIRECT_STATUS 200
SCRIPT_FILENAME /home/ortolin2/domains/downarowicz-ortholine.pl/public_html/index.php
QUERY_STRING
SCRIPT_URI http://downarowicz-ortholine.pl/o/mariia-furhala-i6
SCRIPT_URL /o/mariia-furhala-i6
SCRIPT_NAME /index.php
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE LiteSpeed
REQUEST_METHOD GET
X-LSCACHE on
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711713897.2243
REQUEST_TIME 1711713897
Key Value
PATH /usr/local/bin:/usr/bin:/bin
LD_PRELOAD /usr/local/lib/h88/av.so
PHP_INI_SCAN_DIR :/etc/configs/users/ortolin2/php/www.downarowicz-ortholine.pl/
0. Whoops\Handler\PrettyPageHandler