• Hi!

    I just started working on my own plugin but already got an error. This is all the code I have: (Changed the plugin information though)

    <?php
    /*
    Plugin Name: WP Plugin
    Plugin URI: http://pluginsite.com
    Description: Some cool plugin features
    Version: 0.5
    Author: James Smith
    Author URI: http://pluginsite.com
    License: GPL2
    */
    
    function fanvo_admin(){
        include("plugin_admin.php");
    }
    
    function fanvo_admin_actions(){
        add_options_page("WP Plugin", "WP Plugin", 1, "WP Plugin", "fanvo_admin");
    }
    
    add_action('admin_menu', 'fanvo_admin_actions');
    ?>

    This gives me a link under “Settings”, clicking this gives me:
    “You do not have sufficient permissions to access this page.”

    I made a new installation but still the same problem.
    Any solutions to this?

    Regards.

Viewing 1 replies (of 1 total)
  • I am having the exactly same problem. Like smileX I am also in to creating my own plugin but, obstructed at the same point

    Pls someone do help us out.

    Thnx.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with "sufficient permissions" -> Custom plugin’ is closed to new replies.