phpMyAdmin Strange permissions #1142 error after deleting a table record with success!
This ia a bug for PMA 4.7.0.
Here is the bug tracking https://github.com/phpmyadmin/phpmyadmin/issues/13214

If anyone comes here with the same problem for PMA 4.7.0, then open the PMA/libraries/Tracker.php and alter the following lines:

Index: Tracker.php
===================================================================

// - Remove/Comment
$result = $GLOBALS['dbi']-&gt;fetchValue($sql_query);

// + Add
$row = $GLOBALS['dbi']-&gt;fetchArray(PMA_queryAsControlUser($sql_query));

// - Remove/Comment
return ($result == 1);

// + Add
return isset($row[0])
    ? $row[0]
    : -1;