Sawyer05
Sawyer05

Reputation: 1604

PHPMyAdmin Undefined Index: Rows

I'm receiving the error below when using phpMyAdmin. It's occurring every time I create any table.

Notice in ./libraries/structure.lib.php#1881
 Undefined index: Rows

Backtrace

./libraries/structure.lib.php#2382: getHtmlForRowStatsTable(
array,
NULL,
boolean false,
boolean false,
string '',
string '',
)
./libraries/display_structure.inc.php#263: PMA_getHtmlForDisplayTableStats(
string '',
NULL,
NULL,
boolean false,
NULL,
string '?db=btc_orders&table=Rep&token=09aa3ad5cb85e33dad2a2098ed2874e2&goto=tbl_structure.php&back=tbl_structure.php',
NULL,
)
./tbl_structure.php#163: require_once(./libraries/display_structure.inc.php)

It only occurs on the one Datadase in PHPMyAdmin with no errors popping up on any others.

I've deleted all the tables and done them again with the error still occurring every time I add a new table.

Upvotes: 10

Views: 31410

Answers (1)

Sawyer05
Sawyer05

Reputation: 1604

The problem was due to having uppercase characters in the table. I switched to all lower case characters in both the table and field names and the problem disappeared.

Upvotes: 34

Related Questions