[Phpmyadmin-devel] notices in libraries/RecentTables.class.php

Aris Feryanto aris_feryanto at yahoo.com
Tue Jun 21 19:27:17 CEST 2011


Hi Marc,

----- Original Message -----
> From: Marc Delisle <marc at infomarc.info>
> 
> From current master, when browsing a table:
> 
> Warning in ./libraries/RecentTable.class.php#190
> array_unshift() expects parameter 1 to be array, null given
> 
> Backtrace
> 
> ./libraries/RecentTable.class.php#190: array_unshift(
> NULL,
> string sakila.actor,
> )
> ./libraries/header.inc.php#22: PMA_RecentTable->add(
> string sakila,
> string actor,
> )
> ./libraries/header.inc.php#171: PMA_addRecentTable(
> string sakila,
> string actor,
> )
> ./libraries/tbl_links.inc.php#40: require_once(./libraries/header.inc.php)
> ./sql.php#881: require(./libraries/tbl_links.inc.php)
>

Odd. It shouldn't be NULL because it is always initialized when PMA_RecentTable class is being constructed. And I can't reproduce this warning. Is this warning found in demo server?


--
Aris Feryanto




More information about the Developers mailing list