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_PRAGMA] => no-cache
    [HTTP_CACHE_CONTROL] => no-cache
    [HTTP_SEC_CH_UA] => "HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
    [HTTP_SEC_CH_UA_MOBILE] => ?0
    [HTTP_SEC_CH_UA_PLATFORM] => "Windows"
    [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
    [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
    [HTTP_SEC_FETCH_SITE] => none
    [HTTP_SEC_FETCH_MODE] => navigate
    [HTTP_SEC_FETCH_USER] => ?1
    [HTTP_SEC_FETCH_DEST] => document
    [HTTP_ACCEPT_ENCODING] => gzip, deflate, br, zstd
    [HTTP_PRIORITY] => u=0, i
    [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] => 3.16.78.138 [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] => 43964 [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] => 1743696452.056 [REQUEST_TIME] => 1743696452 )
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