skip to Main Content

After I added a new field to add picture in my users table in laravel, I am facing the below error in my phpmyadmin, only on the user table when I click on the Browse segment, I checked phpmyadmin version and it is 5.1.1 up to date, where my php is 8.0.12 version. I also added this line to config.ini $cfg[‘SendErrorReports’] = ‘never’; after that the error disappeared, but I cannot see the data I entered to the table in the Browse segment which is annoying. Is there anyone to help me? I am new to laravel

Warning in .librariesclassesDisplayResults.php#1043 Undefined
array key 8

Backtrace

Results.php#1174:
PhpMyAdminDisplayResults->getTableHeadersForColumns( array, array,
array, array, array, boolean false, string ‘SELECT * FROM users ‘, )
Results.php#4211: PhpMyAdminDisplayResults->getTableHeaders( array,
array, string ‘SELECT * FROM users ‘, array, array, array, boolean
false, ) Sql.php#1364: PhpMyAdminDisplayResults->getTable( , array,
array, boolean false, ) Sql.php#1620:
PhpMyAdminSql->getHtmlForSqlQueryResultsTable( , string
‘./themes/pmahomme/img/’, array, boolean true, integer 12, integer 12,
NULL, , array, ) Sql.php#1856:
PhpMyAdminSql->getQueryResponseForResultsReturned( , array, string
‘laravel’, string

2

Answers


  1. First take backup of your database, than create new database with different name and than import that backup file to new created database and than browse it your issue will be resolved.

    Login or Signup to reply.
    1. Open XAMPP Control panel and Stop Apache and Mysql services
    2. Type phpmyadmin Download in browser and download the file
    3. Go to downloaded file and extract
    4. Go to C:xamppphpMyAdmin
    5. Copy config.inc.php file and paste to desktop
    6. Select All files in C:xamppphpMyAdmin and Delete
    7. Copy All files in downloaded and Extracted phpmyadmin folder and paste in C:xamppphpMyAdmin
    8. Copy config.inc.php from desktop to C:xamppphpMyAdmin
    9. Close C:xamppphpMyAdmin folder and Go to XAMPP Control panel and Start Apache and Mysql services
    10. Browse http://localhost/phpmyadmin ==> Solved … Well Done!! Enjoy
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search