WordPress.org

Support

Support » Installation » Install error Admin page Warning: array_keys():

Install error Admin page Warning: array_keys():

  • Hello everyone I am on my first install after long searching and be hacked by santy on my phpbb2 I tried this every thing worked ok but on the top of my ad min page this is displayed and it will not let me do anything up there…

    Warning: array_keys(): The first argument should be an array in /www/i/infomatrix/htdocs/wp-admin/admin-functions.php on line 753

    Warning: Invalid argument supplied for foreach() in /www/i/infomatrix/htdocs/wp-admin/admin-functions.php on line 753

    Warning: Invalid argument supplied for foreach() in
    /www/i/infomatrix/htdocs/wp-admin/menu-header.php on line 8

    this is the line…

    }foreach (array_keys($submenu) as $parent) {
    foreach ($submenu[$parent] as $submenu_array) {
    if ($submenu_array[2] == $pagenow) {
    $parent_file = $parent;
    return $parent;
    } else if (isset($plugin_page) && ($plugin_page == $submenu_array[2])) {
    $parent_file = $parent;
    return $parent;
    }

    Thanks
    Vis.
    just tring to get working can not yet

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Install error Admin page Warning: array_keys():’ is closed to new replies.