I’m creating a new plugin (based on a previous plugin I created that works). The options pages show up fine but when I submit I get the “You do not have sufficient permissions to access this page.” error.
The plugin it’s based on works and submits fine. I’m not sure why this is having an issue though.
Below is the script that creates the plugin, it’s pages, and the code that creates the new item on submit.