<div dir="ltr">Hello,<div><br></div><div>I am Cindy from Cameroon and I wish to participate in GSoC 2016 with Phpmyadmin to work on the mobile responsive version of the app.</div><div><br></div><div>I have forked and cloned the github repo and I am </div><div> trying some operations and one caught my attention.</div><div><br></div><div>When I select a Database and type DESC <database.table_name> in the Console, I always get this error which says :</div><div><b style="font-size:13px;color:rgb(68,68,68);font-family:sans-serif"><br></b></div><div><b style="font-size:13px;color:rgb(68,68,68);font-family:sans-serif">Fatal error</b><span style="font-size:13px;color:rgb(68,68,68);font-family:sans-serif">: Call to a member function getClauses() on null in </span><b style="font-size:13px;color:rgb(68,68,68);font-family:sans-serif">/Users/osiris/Desktop/phpmyadmin/libraries/sql-parser/src/Utils/Query.php</b><span style="font-size:13px;color:rgb(68,68,68);font-family:sans-serif"> on line </span><b style="font-size:13px;color:rgb(68,68,68);font-family:sans-serif">549.</b></div><div><b style="font-size:13px;color:rgb(68,68,68);font-family:sans-serif"><br></b></div><div><b><font color="#444444" face="sans-serif">This appears after I ignore a dialog box that overplayed some other errors.</font></b></div><div><b><font color="#444444" face="sans-serif"><br></font></b></div><div><b><font color="#444444" face="sans-serif">Here is an example error on the statement:  DESC information_schema.FILES;</font></b></div><div><b><font color="#444444" face="sans-serif"><br></font></b></div><div><b><font color="#444444" face="sans-serif">Output:</font></b></div><div><b><font color="#444444" face="sans-serif"><br></font></b></div><div><b><font color="#444444" face="sans-serif"><br></font></b></div><div><div class="" style="color:rgb(0,0,0);background-color:rgb(232,238,241);margin:0.5em 0px;border:1px solid rgb(58,108,126);padding:10px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-family:sans-serif;font-size:13px;background-repeat:no-repeat no-repeat">)<br>./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(<br>object,<br>array,<br>string 'information_schema',<br>string '',<br>NULL,<br>NULL,<br>object,<br>string './themes/pmahomme/img/',<br>integer 38,<br>integer 38,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>)<br>./import.php#795: PMA_executeQueryAndGetQueryResponse(<br>array,<br>boolean false,<br>string 'information_schema',<br>string '',<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'db_structure.php',<br>string './themes/pmahomme/img/',<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>)<br></div><div class="" style="color:rgb(0,0,0);background-color:rgb(232,238,241);margin:0.5em 0px;border:1px solid rgb(58,108,126);padding:10px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-family:sans-serif;font-size:13px;background-repeat:no-repeat no-repeat"><strong>Notice</strong> in ./libraries/sql.lib.php#1669<br><img src="http://localhost:9000/themes/dot.gif" title="" alt="" class="" style="vertical-align: middle; margin: 0px 0px 0px 0.3em; width: 16px; height: 16px; padding: 0px !important; background-image: url(http://localhost:9000/themes/pmahomme/img/sprites.png?v=4.6.0-dev) !important; background-repeat: no-repeat no-repeat !important;"> Undefined index: is_explain<br><br><strong>Backtrace</strong><br><br>./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(<br>object,<br>string './themes/pmahomme/img/',<br>NULL,<br>array,<br>boolean false,<br>integer 38,<br>integer 38,<br>NULL,<br>object,<br>array,<br>)<br>./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(<br>object,<br>array,<br>string 'information_schema',<br>string '',<br>NULL,<br>NULL,<br>object,<br>string './themes/pmahomme/img/',<br>integer 38,<br>integer 38,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>)<br>./import.php#795: PMA_executeQueryAndGetQueryResponse(<br>array,<br>boolean false,<br>string 'information_schema',<br>string '',<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'db_structure.php',<br>string './themes/pmahomme/img/',<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>)<br></div><div class="" style="color:rgb(0,0,0);background-color:rgb(232,238,241);margin:0.5em 0px;border:1px solid rgb(58,108,126);padding:10px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-family:sans-serif;font-size:13px;background-repeat:no-repeat no-repeat"><strong>Notice</strong> in ./libraries/sql.lib.php#1670<br><img src="http://localhost:9000/themes/dot.gif" title="" alt="" class="" style="vertical-align: middle; margin: 0px 0px 0px 0.3em; width: 16px; height: 16px; padding: 0px !important; background-image: url(http://localhost:9000/themes/pmahomme/img/sprites.png?v=4.6.0-dev) !important; background-repeat: no-repeat no-repeat !important;"> Undefined index: is_show<br><br><strong>Backtrace</strong><br><br>./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(<br>object,<br>string './themes/pmahomme/img/',<br>NULL,<br>array,<br>boolean false,<br>integer 38,<br>integer 38,<br>NULL,<br>object,<br>array,<br>)<br>./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(<br>object,<br>array,<br>string 'information_schema',<br>string '',<br>NULL,<br>NULL,<br>object,<br>string './themes/pmahomme/img/',<br>integer 38,<br>integer 38,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>)<br>./import.php#795: PMA_executeQueryAndGetQueryResponse(<br>array,<br>boolean false,<br>string 'information_schema',<br>string '',<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'db_structure.php',<br>string './themes/pmahomme/img/',<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>)<br></div><div class="" style="color:rgb(0,0,0);background-color:rgb(232,238,241);margin:0.5em 0px;border:1px solid rgb(58,108,126);padding:10px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-family:sans-serif;font-size:13px;background-repeat:no-repeat no-repeat"><strong>Notice</strong> in ./libraries/DisplayResults.php#4234<br><img src="http://localhost:9000/themes/dot.gif" title="" alt="" class="" style="vertical-align: middle; margin: 0px 0px 0px 0.3em; width: 16px; height: 16px; padding: 0px !important; background-image: url(http://localhost:9000/themes/pmahomme/img/sprites.png?v=4.6.0-dev) !important; background-repeat: no-repeat no-repeat !important;"> Undefined index: statement<br><br><strong>Backtrace</strong><br><br>./libraries/sql.lib.php#1683: PMA\libraries\DisplayResults->getTable(<br>object,<br>array,<br>array,<br>boolean false,<br>)<br>./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(<br>object,<br>string './themes/pmahomme/img/',<br>NULL,<br>array,<br>boolean false,<br>integer 38,<br>integer 38,<br>NULL,<br>object,<br>array,<br>)<br>./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(<br>object,<br>array,<br>string 'information_schema',<br>string '',<br>NULL,<br>NULL,<br>object,<br>string './themes/pmahomme/img/',<br>integer 38,<br>integer 38,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>)<br>./import.php#795: PMA_executeQueryAndGetQueryResponse(<br>array,<br>boolean false,<br>string 'information_schema',<br>string '',<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'db_structure.php',<br>string './themes/pmahomme/img/',<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>)<br></div><div class="" style="color:rgb(0,0,0);background-color:rgb(232,238,241);margin:0.5em 0px;border:1px solid rgb(58,108,126);padding:10px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-family:sans-serif;font-size:13px;background-repeat:no-repeat no-repeat"><strong>Notice</strong> in ./libraries/DisplayResults.php#4341<br><img src="http://localhost:9000/themes/dot.gif" title="" alt="" class="" style="vertical-align: middle; margin: 0px 0px 0px 0.3em; width: 16px; height: 16px; padding: 0px !important; background-image: url(http://localhost:9000/themes/pmahomme/img/sprites.png?v=4.6.0-dev) !important; background-repeat: no-repeat no-repeat !important;"> Undefined index: querytype<br><br><strong>Backtrace</strong><br><br>./libraries/sql.lib.php#1683: PMA\libraries\DisplayResults->getTable(<br>object,<br>array,<br>array,<br>boolean false,<br>)<br>./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(<br>object,<br>string './themes/pmahomme/img/',<br>NULL,<br>array,<br>boolean false,<br>integer 38,<br>integer 38,<br>NULL,<br>object,<br>array,<br>)<br>./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(<br>object,<br>array,<br>string 'information_schema',<br>string '',<br>NULL,<br>NULL,<br>object,<br>string './themes/pmahomme/img/',<br>integer 38,<br>integer 38,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>)<br>./import.php#795: PMA_executeQueryAndGetQueryResponse(<br>array,<br>boolean false,<br>string 'information_schema',<br>string '',<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'db_structure.php',<br>string './themes/pmahomme/img/',<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>)<br></div><div class="" style="color:rgb(0,0,0);background-color:rgb(232,238,241);margin:0.5em 0px;border:1px solid rgb(58,108,126);padding:10px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-family:sans-serif;font-size:13px;background-repeat:no-repeat no-repeat"><strong>Notice</strong> in ./libraries/DisplayResults.php#1375<br><img src="http://localhost:9000/themes/dot.gif" title="" alt="" class="" style="vertical-align: middle; margin: 0px 0px 0px 0.3em; width: 16px; height: 16px; padding: 0px !important; background-image: url(http://localhost:9000/themes/pmahomme/img/sprites.png?v=4.6.0-dev) !important; background-repeat: no-repeat no-repeat !important;"> Undefined index: statement<br><br><strong>Backtrace</strong><br><br>./libraries/DisplayResults.php#4362: PMA\libraries\DisplayResults->_getUnsortedSqlAndSortByKeyDropDown(<br>array,<br>string '',<br>)<br>./libraries/sql.lib.php#1683: PMA\libraries\DisplayResults->getTable(<br>object,<br>array,<br>array,<br>boolean false,<br>)<br>./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(<br>object,<br>string './themes/pmahomme/img/',<br>NULL,<br>array,<br>boolean false,<br>integer 38,<br>integer 38,<br>NULL,<br>object,<br>array,<br>)<br>./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(<br>object,<br>array,<br>string 'information_schema',<br>string '',<br>NULL,<br>NULL,<br>object,<br>string './themes/pmahomme/img/',<br>integer 38,<br>integer 38,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>)<br>./import.php#795: PMA_executeQueryAndGetQueryResponse(<br>array,<br>boolean false,<br>string 'information_schema',<br>string '',<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'db_structure.php',<br>string './themes/pmahomme/img/',<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>)<br></div><div class="" style="color:rgb(0,0,0);background-color:rgb(232,238,241);margin:0.5em 0px;border:1px solid rgb(58,108,126);padding:10px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-family:sans-serif;font-size:13px;background-repeat:no-repeat no-repeat"><strong>Notice</strong> in ./libraries/DisplayResults.php#1376<br><img src="http://localhost:9000/themes/dot.gif" title="" alt="" class="" style="vertical-align: middle; margin: 0px 0px 0px 0.3em; width: 16px; height: 16px; padding: 0px !important; background-image: url(http://localhost:9000/themes/pmahomme/img/sprites.png?v=4.6.0-dev) !important; background-repeat: no-repeat no-repeat !important;"> Undefined index: parser<br><br><strong>Backtrace</strong><br><br>./libraries/DisplayResults.php#4362: PMA\libraries\DisplayResults->_getUnsortedSqlAndSortByKeyDropDown(<br>array,<br>string '',<br>)<br>./libraries/sql.lib.php#1683: PMA\libraries\DisplayResults->getTable(<br>object,<br>array,<br>array,<br>boolean false,<br>)<br>./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(<br>object,<br>string './themes/pmahomme/img/',<br>NULL,<br>array,<br>boolean false,<br>integer 38,<br>integer 38,<br>NULL,<br>object,<br>array,<br>)<br>./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(<br>object,<br>array,<br>string 'information_schema',<br>string '',<br>NULL,<br>NULL,<br>object,<br>string './themes/pmahomme/img/',<br>integer 38,<br>integer 38,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>)<br>./import.php#795: PMA_executeQueryAndGetQueryResponse(<br>array,<br>boolean false,<br>string 'information_schema',<br>string '',<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'db_structure.php',<br>string './themes/pmahomme/img/',<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>)<br></div><div class="" style="color:rgb(0,0,0);background-color:rgb(232,238,241);margin:0.5em 0px;border:1px solid rgb(58,108,126);padding:10px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-family:sans-serif;font-size:13px;background-repeat:no-repeat no-repeat"><strong>Notice</strong> in ./libraries/DisplayResults.php#1376<br><img src="http://localhost:9000/themes/dot.gif" title="" alt="" class="" style="vertical-align: middle; margin: 0px 0px 0px 0.3em; width: 16px; height: 16px; padding: 0px !important; background-image: url(http://localhost:9000/themes/pmahomme/img/sprites.png?v=4.6.0-dev) !important; background-repeat: no-repeat no-repeat !important;"> Trying to get property of non-object<br><br><strong>Backtrace</strong><br><br>./libraries/DisplayResults.php#4362: PMA\libraries\DisplayResults->_getUnsortedSqlAndSortByKeyDropDown(<br>array,<br>string '',<br>)<br>./libraries/sql.lib.php#1683: PMA\libraries\DisplayResults->getTable(<br>object,<br>array,<br>array,<br>boolean false,<br>)<br>./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(<br>object,<br>string './themes/pmahomme/img/',<br>NULL,<br>array,<br>boolean false,<br>integer 38,<br>integer 38,<br>NULL,<br>object,<br>array,<br>)<br>./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(<br>object,<br>array,<br>string 'information_schema',<br>string '',<br>NULL,<br>NULL,<br>object,<br>string './themes/pmahomme/img/',<br>integer 38,<br>integer 38,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>)<br>./import.php#795: PMA_executeQueryAndGetQueryResponse(<br>array,<br>boolean false,<br>string 'information_schema',<br>string '',<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,<br>NULL,<br>NULL,<br>string 'db_structure.php',<br>string './themes/pmahomme/img/',<br>NULL,<br>NULL,<br>NULL,<br>string 'DESC FILES',<br>NULL,<br>NULL,</div></div></div>