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] => Wed, 19 Jun 2024 01:57:54 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] => 44.222.134.250 [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] => 56428 [REDIRECT_URL] => /public/page/about.html [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.0 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /public/page/about.html [SCRIPT_NAME] => /public/index.php [PHP_SELF] => /public/index.php [REQUEST_TIME_FLOAT] => 1728662390.271 [REQUEST_TIME] => 1728662390 )
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/about.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