Hi,
I’m having same issue. I found that I get the “You do not have sufficient permissions to access this page.” message on user_can_access_admin_page.php Ln: 1561
$_registered_pages has:
array(8) { [“toplevel_page_participants-database”]=> bool(true) [“wine-database_page_participants-database-list_participants”]=> bool(true) [“wine-database_page_participants-database-edit_participant”]=> bool(true) [“admin_page_participants-database_edit_participant”]=> bool(true) [“appearance_page_theme_options”]=> bool(true) [“appearance_page_custom-header”]=> bool(true) [“appearance_page_custom-background”]=> bool(true) [“appearance_page_theme-editor”]=> bool(true) }
$hookname is:
string(46) “admin_page_participants-database_settings_page”
Since $hookname is not in the $_registered_pages array the function returns false.
Clikglobal, I found participants-database_options in wp_options, but I didn’t find any “admin” to be remplace for “administrator”.
Thanks!