Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #2497
      catacaly
      Member

      When logged in as a non-admin I get the aforementioned warning for this line:

      array_unshift($submenu['options-general.php'], $all_options_menu);

      followed by this related warning that keeps repeating:

      Warning: Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1515
      =
      foreach ( $submenu[$parent] as $submenu_array ) {

      So what’s that array supposed to be? Thanks.

    • #2498
      catacaly
      Member

      The latter error appears twice after the first one below the admin bar and then once in each of these top-level admin menu list item elements: Dashboard, Comments, Profile, and Tools…

    • #2499
      catacaly
      Member

      Ok it’s only with the Show ALL options option checked… I like that option too…

    • #2507
      Steve
      Keymaster

      @catacaly– We just pushed version 1.5.8 to WordPress.org with this fix. Thanks for letting us know!

      (I like that option as well)

Viewing 3 reply threads
  • The topic ‘wp-helpers.php #778 expects param 1 to be an a’ is closed to new replies.