Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notice in ./libraries/dbi/DBIMysqli.class.php#522

I just have installed MySQL Server version: 5.7.23-0ubuntu0.16.04.1 - (Ubuntu) and phpMyAdmin Version information: 4.5.4.1deb2ubuntu2 When I am accessing database through phpMyAdmin, it is showing warning message

Notice in ./libraries/dbi/DBIMysqli.class.php#522

Can anyone help please?

enter image description here

like image 353
Sachin Vairagi Avatar asked Dec 11 '22 05:12

Sachin Vairagi


2 Answers

You just need to add one thing in file ./libraries/dbi/DBIMysqli.class.php. Below is the code to add line no 522

Before adding fixing code

enter image description here

After Adding fixing code

enter image description here

I think this will help you to fix that error messages issue.

like image 187
Lakhwinder Singh Avatar answered Dec 27 '22 11:12

Lakhwinder Singh


open a DBIMysqli.class.php File.

/usr/share/phpmyadmin/libraries/dbi/DBIMysqli.class.php

And Then Go To Line Number : 522

before Replace Code This Line

  $fields[$k]->type =  $typeAr[$field->type];

After Replace This Line

$fields[$k]->type = isset($typeAr[$field->type]) ? $typeAr[$field->type] : null;
like image 45
Jignesh Joisar Avatar answered Dec 27 '22 12:12

Jignesh Joisar