Ocorreu um erro no script '/home/brsdigitalcom/public_html/empresas.php' na linha
80:
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given
[2] => /home/brsdigitalcom/public_html/empresas.php
[3] => 80
[4] => Array
(
[_GET] => Array
(
[alias] => digital
)
[_POST] => Array
(
)
[_COOKIE] => Array
(
[PHPSESSID] => 4vg6pj6i09bseb35db67dp7h96
)
[_FILES] => Array
(
)
[_SERVER] => Array
(
[PATH] => /usr/local/bin:/bin:/usr/bin
[DOCUMENT_ROOT] => /home/brsdigitalcom/public_html
[HTTP_ACCEPT] => */*
[HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
[HTTP_COOKIE] => PHPSESSID=4vg6pj6i09bseb35db67dp7h96
[HTTP_HOST] => www.brsdigital.com.br
[HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
[HTTP_X_HTTPS] => 1
[REMOTE_ADDR] => 216.73.217.14
[REMOTE_PORT] => 8878
[SERVER_ADDR] => 85.155.127.7
[SERVER_NAME] => www.brsdigital.com.br
[SERVER_ADMIN] => webmaster@brsdigital.com.br
[SERVER_PORT] => 443
[REQUEST_SCHEME] => https
[REQUEST_URI] => /page/0/empresas/digital
[REDIRECT_URL] => /page/0/empresas/digital
[REDIRECT_REQUEST_METHOD] => GET
[HTTPS] => on
[REDIRECT_STATUS] => 200
[X_SPDY] => HTTP2
[SSL_PROTOCOL] => TLSv1.3
[SSL_CIPHER] => TLS_AES_256_GCM_SHA384
[SSL_CIPHER_USEKEYSIZE] => 256
[SSL_CIPHER_ALGKEYSIZE] => 256
[SCRIPT_FILENAME] => /home/brsdigitalcom/public_html/empresas.php
[QUERY_STRING] => alias=digital
[SCRIPT_URI] => https://www.brsdigital.com.br/page/0/empresas/digital
[SCRIPT_URL] => /page/0/empresas/digital
[SCRIPT_NAME] => /empresas.php
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => LiteSpeed
[REQUEST_METHOD] => GET
[X-LSCACHE] => on
[PHP_SELF] => /empresas.php
[REQUEST_TIME_FLOAT] => 1785263686.4948
[REQUEST_TIME] => 1785263686
)
[_REQUEST] => Array
(
[alias] => digital
)
[_ENV] => Array
(
[PATH] => /usr/local/bin:/bin:/usr/bin
[DOCUMENT_ROOT] => /home/brsdigitalcom/public_html
)
[GLOBALS] => Array
*RECURSION*
[_SESSION] => Array
(
)
[dbc] => mysqli Object
(
[affected_rows] => -1
[client_info] => 10.11.13-MariaDB
[client_version] => 101113
[connect_errno] => 0
[connect_error] =>
[errno] => 1064
[error] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-18,18' at line 5
[error_list] => Array
(
[0] => Array
(
[errno] => 1064
[sqlstate] => 42000
[error] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-18,18' at line 5
)
)
[field_count] => 0
[host_info] => Localhost via UNIX socket
[info] =>
[insert_id] => 0
[server_info] => 10.11.18-MariaDB-cll-lve
[server_version] => 101118
[stat] => Uptime: 350438 Threads: 152 Questions: 234292248 Slow queries: 31127 Opens: 2610201 Open tables: 2000 Queries per second avg: 668.569
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 1405914
[warning_count] => 0
)
[page_title] => Lista de Empresas
[limit] =>
[limit_end] => -18
[quantidade] => 18
[page] => Array
(
[1] => page
[3] => empresas
[4] => digital
)
[filtro] => c.alias = 'digital' AND
[nav_filtro] => /digital
[query] => SELECT e.*, c.alias AS category_alias, c.category
FROM BD__empresas AS e
INNER JOIN BD__empresas_categories AS c
ON e.category_id = c.id
WHERE c.status = 1 AND c.alias = 'digital' AND e.status = 1 AND e.published <= NOW() ORDER BY e.date_created DESC
[q_main] => SELECT e.*, c.alias AS category_alias, c.category
FROM BD__empresas AS e
INNER JOIN BD__empresas_categories AS c
ON e.category_id = c.id
WHERE c.status = 1 AND c.alias = 'digital' AND e.status = 1 AND e.published <= NOW() ORDER BY e.date_created DESC LIMIT -18,18
[r_main] =>
[s] => SELECT c.alias, c.category FROM BD__empresas_categories AS c WHERE c.alias = 'digital' AND c.status = 1 ORDER BY c.category DESC
[q] =>
[row] => Array
(
[alias] => digital
[category] => Digital
)
)
)
)
[1] => Array
(
[file] => /home/brsdigitalcom/public_html/empresas.php
[line] => 80
[function] => mysqli_fetch_array
[args] => Array
(
[0] =>
[1] => 1
)
)
)