Problem Description:

This error appears when you attempt to access Theme Options from the WordPress admin menu.

Answer:

First, make sure you are accessing Theme Options from the WordPress dashboard by clicking the link in the left-hand menu. Never attempt to access this link directly, from a bookmark, or a custom menu item or plugin

Verify Your Account

Your logged-in user account must have the edit_theme_options capability. This is part of the Administrator account and role by default in self-installed WordPress setups. If you used a 1-click install from your host, ensure the Theme and Plugin editors are enabled by checking the Appearance menu for the Editor link. If you don’t see it, someone disabled it. Please contact your admin or host for help.

If you have a WordPress multi-user setup (you setup WPMU yourself or have a friend that did) or you are using WordPress via a third party website or service that offers hosted WordPress accounts, you will not have access to the theme editor or this capability unless you are logged in as a super admin or your admin has enabled it explicitly. Please contact your admin or host for help. If you setup WPMU yourself and have this issue, login with your Network Admin account and add the capability to this blog via the Site admin. Please see the WPMU documentation or consult wpmudev.org for support of WPMU. There are some free plugins such as Adminize and Role Scoper that can help you edit the capabilities of each user type in WordPress to ensure this is available to your login.

Troubleshoot Plugin Conflicts

If all the above checks out, deactivate all plugins to ensure nothing is loading that is affecting or modifying permissions in WordPress.

 

Modifying the Theme Functions (multi-Site Only)

If you are able to edit the theme files and replace them on your server, you can manually adjust the menu role requirement in the functions.php

This is considered a modification, and is provided as-is. We expect you understand what you are doing if applying coding changes using these or other WordPress tutorials. Make a backup of your existing file so you can replace it if something goes wrong and you need to start over. Modified files WILL probably be replaced by a theme update at some point, so keep note of your changes for future reference or see our guides below. We cannot assist you with modifying your theme or support problems you encounter as a result!

If you are modifying a theme as part of a client project, the following are really important!

How to Modify Your Theme the Right Way
How to Track Update Changes and Maintain Modifications

Under Appearance > Editor, click on Theme Functions OR open the functions.php in an HTML editor on your computer.

Ensure the theme menu “General” option has a capability you can use. Example here changes it to manage_options:

 

    add_submenu_page(basename(__FILE__), "General Options", "General", "manage_options", basename(__FILE__), 'ocmx_general_options');