#2014 – Commands out of sync; you can’t run this command now
Now that can be a really annoying error!
It happens when querying stored procedures in phpMyAdmin as mysqli seems to return 2 sets of results opposed to the usual 1 that mysql returns.
You cannot call anything else until you have “flushed” or “cleared” the second result.
You can try using COMMIT to resolve this.