mySQL 错误 'Trying to access array offset on value of type null'
mySQL error 'Trying to access array offset on value of type null'
我正在做一个 node.js 项目,但我正在使用 XAMPP 来托管我的数据库和 phpmyadmin,以便查看数据并进行管理。事情是今天 table 每当我打开它时就开始向我显示此错误,如果它对它进行查询,我的机器人就会崩溃,就是这个 table。我测试了其他需要查询的命令,但它们工作得很好。
谢谢!
Notice in .\libraries\classes\Display\Results.php#4439
Trying to access array offset on value of type null
Backtrace
.\libraries\classes\Display\Results.php#4197: PhpMyAdmin\Display\Results->_getSortedColumnMessage(
,
string '`tieBreakerMatchNeeded`',
)
.\libraries\classes\Sql.php#1666: PhpMyAdmin\Display\Results->getTable(
,
array,
array,
boolean true,
)
.\libraries\classes\Sql.php#1468: PhpMyAdmin\Sql->getHtmlForSqlQueryResultsTable(
,
string './themes/pmahomme/img/',
NULL,
array,
boolean false,
integer 0,
integer 0,
boolean true,
,
array,
boolean true,
)
.\libraries\classes\Sql.php#2250: PhpMyAdmin\Sql->getQueryResponseForNoResultsReturned(
array,
string 'torneos_wild_gaming',
string 'matches',
NULL,
integer 0,
,
NULL,
string './themes/pmahomme/img/',
NULL,
,
string 'SELECT * FROM `matches` ORDER BY `tieBreakerMatchNeeded` ASC ',
NULL,
)
.\libraries\classes\Sql.php#2100: PhpMyAdmin\Sql->executeQueryAndGetQueryResponse(
array,
boolean true,
string 'torneos_wild_gaming',
string 'matches',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `matches` ORDER BY `tieBreakerMatchNeeded` ASC ',
NULL,
NULL,
)
.\sql.php#241: PhpMyAdmin\Sql->executeQueryAndSendQueryResponse(
array,
boolean true,
string 'torneos_wild_gaming',
string 'matches',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `matches`',
NULL,
NULL,
)
我用备份解决了。 XAMPP 或 PHPMyAdmin 似乎有问题。
我正在做一个 node.js 项目,但我正在使用 XAMPP 来托管我的数据库和 phpmyadmin,以便查看数据并进行管理。事情是今天 table 每当我打开它时就开始向我显示此错误,如果它对它进行查询,我的机器人就会崩溃,就是这个 table。我测试了其他需要查询的命令,但它们工作得很好。 谢谢!
Notice in .\libraries\classes\Display\Results.php#4439
Trying to access array offset on value of type null
Backtrace
.\libraries\classes\Display\Results.php#4197: PhpMyAdmin\Display\Results->_getSortedColumnMessage(
,
string '`tieBreakerMatchNeeded`',
)
.\libraries\classes\Sql.php#1666: PhpMyAdmin\Display\Results->getTable(
,
array,
array,
boolean true,
)
.\libraries\classes\Sql.php#1468: PhpMyAdmin\Sql->getHtmlForSqlQueryResultsTable(
,
string './themes/pmahomme/img/',
NULL,
array,
boolean false,
integer 0,
integer 0,
boolean true,
,
array,
boolean true,
)
.\libraries\classes\Sql.php#2250: PhpMyAdmin\Sql->getQueryResponseForNoResultsReturned(
array,
string 'torneos_wild_gaming',
string 'matches',
NULL,
integer 0,
,
NULL,
string './themes/pmahomme/img/',
NULL,
,
string 'SELECT * FROM `matches` ORDER BY `tieBreakerMatchNeeded` ASC ',
NULL,
)
.\libraries\classes\Sql.php#2100: PhpMyAdmin\Sql->executeQueryAndGetQueryResponse(
array,
boolean true,
string 'torneos_wild_gaming',
string 'matches',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `matches` ORDER BY `tieBreakerMatchNeeded` ASC ',
NULL,
NULL,
)
.\sql.php#241: PhpMyAdmin\Sql->executeQueryAndSendQueryResponse(
array,
boolean true,
string 'torneos_wild_gaming',
string 'matches',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `matches`',
NULL,
NULL,
)
我用备份解决了。 XAMPP 或 PHPMyAdmin 似乎有问题。