paginate_links on custom query in admin – ‘sufficient permissions’ error

The last part of the URL is being treated as part of the page value..

/wp-admin/admin.php?page=user-feedback/user-feedback.php/page/2/

The bold part is your plugin page, so when you go adding parts onto that URL it’s considered to be part of that URL.

If you use this instead it should work no problem.

/wp-admin/admin.php?page=user-feedback/user-feedback.php&paged=2

Note: You can actually reproduce the problem quite easily adding anything else on in the same manner, eg.

/wp-admin/admin.php?page=user-feedback/user-feedback.php/foobar/

If you want pretty paged URLs for your plugin page you’ll have to look into creating additional rewrites for those pages yourself, but that’s perhaps for another question…(and not one i have time to answer – this particular issue was pretty easy to spot)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)