You do not have sufficient permissions to access this page on a submenu

Continued to do more research and ended up finding the solution to my problem! Since the url I am passing the parameter to is /wp-admin/admin.php?page=ecosystem-delete. I didn’t even notice that ?page=ecosystem-delete is already a parameter, so I needed to pass my second parameter into the URL as &id= rather than ?id=.

A simple overlooked mistake. 🙂

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