How to fix phpMyAdmin Fatal error: Uncaught TypeError: mb_strtolower() expects parameter 1 to be string
How to fix phpMyAdmin Fatal error: Uncaught TypeError: mb_strtolower() expects parameter 1 to be string
PhpMyAdmin 在执行查询时导致错误:
SELECT * FROM users u
INNER JOIN address a ON u.userid=a.id
INNER JOIN health_status h ON u.userid=h.uid
WHERE u.userid='1634627411'
SELECT *
from users u
INNER join friends f on u.userid=f.user
inner join friends f1 on u.userid = f1.friend
WHERE f.user="1634627411"
两个查询都抛出错误
错误:
Fatal error: Uncaught TypeError: mb_strtolower() expects parameter 1 to be string, null given in /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php:3095 Stack trace: #0 /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php(3095): mb_strtolower(NULL) #1 /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php(2772): PhpMyAdmin\Display\Results->getRowInfoForSpecialLinks(Array, Array) #2 /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php(2613): PhpMyAdmin\Display\Results->getRowValues(Object(mysqli_result), Array, 0, Array, Array, '', Array, 'SELECT * FROM u...', Array) #3 /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php(4219): PhpMyAdmin\Display\Results->getTableBody(Object(mysqli_result), Array, Array, Array, false) #4 /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Sql.php(1364): PhpMyAdmin\Display\Results->getTable(Object(mysqli_result), Array, Array, false) #5 /Application in /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php on line 3095
我已经尝试过这个问题 。
我的 phpmyadmin 版本也是最新的 5.1.1
错误是什么意思,如何解决?
您需要升级 phpMyAdmin 版本。版本 5.1.1 与 PHP 8.1.
不兼容
截至发布时,新版本似乎尚未准备就绪,因此暂时降级至 PHP 8.0。
PhpMyAdmin 在执行查询时导致错误:
SELECT * FROM users u
INNER JOIN address a ON u.userid=a.id
INNER JOIN health_status h ON u.userid=h.uid
WHERE u.userid='1634627411'
SELECT *
from users u
INNER join friends f on u.userid=f.user
inner join friends f1 on u.userid = f1.friend
WHERE f.user="1634627411"
两个查询都抛出错误
错误:
Fatal error: Uncaught TypeError: mb_strtolower() expects parameter 1 to be string, null given in /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php:3095 Stack trace: #0 /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php(3095): mb_strtolower(NULL) #1 /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php(2772): PhpMyAdmin\Display\Results->getRowInfoForSpecialLinks(Array, Array) #2 /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php(2613): PhpMyAdmin\Display\Results->getRowValues(Object(mysqli_result), Array, 0, Array, Array, '', Array, 'SELECT * FROM u...', Array) #3 /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php(4219): PhpMyAdmin\Display\Results->getTableBody(Object(mysqli_result), Array, Array, Array, false) #4 /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Sql.php(1364): PhpMyAdmin\Display\Results->getTable(Object(mysqli_result), Array, Array, false) #5 /Application in /Applications/XAMPP/xamppfiles/phpmyadmin/libraries/classes/Display/Results.php on line 3095
我已经尝试过这个问题
我的 phpmyadmin 版本也是最新的 5.1.1
错误是什么意思,如何解决?
您需要升级 phpMyAdmin 版本。版本 5.1.1 与 PHP 8.1.
不兼容截至发布时,新版本似乎尚未准备就绪,因此暂时降级至 PHP 8.0。