debug Debug

Array
(
    [REDIRECT_HTTPS] => on
    [REDIRECT_STATUS] => 200
    [HTTPS] => on
    [HTTP_HOST] => abrasive.kz
    [HTTP_X_FORWARDED_PROTO] => https
    [HTTP_X_FORWARDED_PORT] => 443
    [HTTP_CONNECTION] => close
    [HTTP_USER_AGENT] => CCBot/2.0 (https://commoncrawl.org/faq/)
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
    [HTTP_IF_MODIFIED_SINCE] => Mon, 09 Sep 2024 21:04:41 GMT
    [HTTP_ACCEPT_ENCODING] => br,gzip
    [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    [SERVER_SIGNATURE] => 
Apache/2.4.41 (Ubuntu) Server at abrasive.kz Port 80
[SERVER_SOFTWARE] => Apache/2.4.41 (Ubuntu) [SERVER_NAME] => abrasive.kz [SERVER_ADDR] => 127.0.0.1 [SERVER_PORT] => 80 [REMOTE_ADDR] => 18.97.14.88 [DOCUMENT_ROOT] => /var/www/www-root/data/www/abrasive [REQUEST_SCHEME] => http [CONTEXT_PREFIX] => [CONTEXT_DOCUMENT_ROOT] => /var/www/www-root/data/www/abrasive [SERVER_ADMIN] => webmaster@abrasive.kz [SCRIPT_FILENAME] => /var/www/www-root/data/www/abrasive/public/index.php [REMOTE_PORT] => 47066 [REDIRECT_URL] => /public/page/delivery.html [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.0 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /public/page/delivery.html [SCRIPT_NAME] => /public/index.php [PHP_SELF] => /public/index.php [REQUEST_TIME_FLOAT] => 1733591901.502 [REQUEST_TIME] => 1733591901 )
page->index()
OK: SELECT * FROM categories WHERE parent_id = 0 LIMIT 7 OFFSET 0
Error PHP!
WARNING: Invalid argument supplied for foreach() Файл : /var/www/www-root/data/www/abrasive/app/model/carts.php Строка : 149
Error PHP!
WARNING: Invalid argument supplied for foreach() Файл : /var/www/www-root/data/www/abrasive/app/model/wishlist.php Строка : 97
https://abrasive.kz/public/private/pages/delivery.html
Error PHP!
WARNING: file_get_contents(https://abrasive.kz/public/private/pages/delivery.html): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error Файл : /var/www/www-root/data/www/abrasive/app/controller/page.controller.php Строка : 34
OK: SELECT * FROM categories WHERE parent_id = 0
OK: 
                select * from user_auth a
                    left join users u on a.user_id = u.user_id
                where a.auth_token = ''
            
OK: 
                select * from user_auth a
                    left join users u on a.user_id = u.user_id
                where a.auth_token = ''
            
OK: SELECT * FROM categories WHERE category_status = 1
Error PHP!
WARNING: Invalid argument supplied for foreach() Файл : /var/www/www-root/data/www/abrasive/app/model/categories.php Строка : 296
Error PHP!
WARNING: Invalid argument supplied for foreach() Файл : /var/www/www-root/data/www/abrasive/app/model/categories.php Строка : 476
Error PHP!
WARNING: Invalid argument supplied for foreach() Файл : /var/www/www-root/data/www/abrasive/app/model/categories.php Строка : 566