What am i doing wrong (coding help) (1 post)

  1. shaquilleray
    Posted 4 years ago #


    I am wondering why my plugin is bringing up the error message;
    You do not have sufficient permissions to access this page.

    when you go to the options page. After looking at various threads i believe it has something to do with this piece of code creating the page. Please help me fix this.

    function wert_menu()
    global $wpdb;
    include 'wert_admin_panel.php';

    function wert_admin_actions()
    add_options_page("Wert Info", "Wert Info", 1,
    "wert info", "wert_menu");

    add_action('admin_menu', 'wert_admin_actions');


    Ignore the <!-- and -->

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by shaquilleray
  • This topic is not a support question
  • WordPress version: 3.0.1