Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error in phpmyadmin after updating to PHP 7.2.0

Recently I update my PHP version to 7.2.0 . When I open my phpmyadmin I have face this warning every time when i open any table in database. error in phpmyadmin

If anyone have know about it, Let me know. Thanks in advance.

like image 949
Viraj Shah Avatar asked Dec 06 '17 06:12

Viraj Shah


1 Answers

I have the same issue. Take care about the error. If you see the image the warning are on the line 601, in my case was on line 613.

To solve edit sql.lib.php

change this line:

|| (count($analyzed_sql_results['select_expr'] == 1)

By:

|| (count($analyzed_sql_results['select_expr']) == 1

Regards and happy new year 2019 !

like image 188
Luis Morales Avatar answered Sep 19 '22 17:09

Luis Morales