Menu

#4632 (ok 4.3.2) Notice in ./libraries/Util.class.php#1916 Undefined index: query

4.3.1
fixed
None
5
2014-12-12
2014-12-09
No

Hi,

Updating from 4.2.X I got a lot of errors:

Notice in ./libraries/Util.class.php#1916
Undefined index: query

Backtrace

Code:
./libraries/Util.class.php#1821: PMA_Util::splitURLQuery(string '#')
./libraries/Util.class.php#1277: PMA_Util::linkOrButton(
string '#',
string 'Inline',
array,
)
./libraries/DisplayResults.class.php#4552: PMA_Util::getMessage(
object,
string 'SELECT * FROM other',
string 'success',
)
./libraries/sql.lib.php#1963: PMA_DisplayResults->getTable(
object,
string 'urdr111111',
array,
)
./libraries/sql.lib.php#2220: PMA_getHtmlForSqlQueryResultsTable(
NULL,
object,
string 'allmytv_lc',
string '',
string './themes/pmahomme/img/',
NULL,
string 'urdr111101',
string ' LIMIT 0, 25 ',
boolean true,
string '1434',
integer 25,
NULL,
object,
array,
)
./libraries/sql.lib.php#2321: PMA_sendQueryResponseForResultsReturned(
object,
array,
string 'allmytv_lc',
string 'other',
NULL,
NULL,
NULL,
object,
string '',
string './themes/pmahomme/img/',
string ' LIMIT 0, 25 ',
string '1434',
integer 25,
string 'SELECT * FROM other LIMIT 0, 25 ',
NULL,
NULL,
NULL,
NULL,
NULL,
string 'SELECT * FROM other',
NULL,
)
./libraries/sql.lib.php#2432: PMA_sendQueryResponse(
integer 25,
string '1434',
boolean false,
string 'allmytv_lc',
string 'other',
NULL,
array,
object,
NULL,
object,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
string ' LIMIT 0, 25 ',
string 'SELECT * FROM other LIMIT 0, 25 ',
NULL,
NULL,
NULL,
NULL,
NULL,
string 'SELECT * FROM other',
NULL,
)
./sql.php#204: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string 'allmytv_lc',
string 'other',
NULL,
NULL,
NULL,
boolean false,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM other',
NULL,
NULL,
)

Discussion

  • Marc Delisle

    Marc Delisle - 2014-12-09

    Thanks but you are reporting one error with the related backtrace. Please explain the steps to reproduce this error.

     
  • Hugues Peccatte

    Hugues Peccatte - 2014-12-09

    Hi,
    Could you please tell us the way to reproduce this error?
    On which page should we go? What should we do?
    Thanks.

     
  • Giuseppe Iuculano

    If it can help to debug the issue I use php-fpm

     
  • Marc Delisle

    Marc Delisle - 2014-12-09

    Which PHP version please?

     
    • Giuseppe Iuculano

      PHP 5.5.19

       
  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    • summary: Notice in ./libraries/Util.class.php#1916 Undefined index: query --> (ok 4.3.2) Notice in ./libraries/Util.class.php#1916 Undefined index: query
    • status: open --> resolved
     
  • Giuseppe Iuculano

    Patch works, thank you

     
  • Marc Delisle

    Marc Delisle - 2014-12-12
    • Status: resolved --> fixed