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_ACCEPT] => */*
    [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
    [HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
    [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.119.120.59 [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] => 47982 [REDIRECT_URL] => /public/page/payment.html [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.0 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /public/page/payment.html [SCRIPT_NAME] => /public/index.php [PHP_SELF] => /public/index.php [REQUEST_TIME_FLOAT] => 1732171193.723 [REQUEST_TIME] => 1732171193 )
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/payment.html
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