Title: Empty Items Array
Last modified: August 31, 2016

---

# Empty Items Array

 *  Resolved [ericsvn](https://wordpress.org/support/users/ericsvn/)
 * (@ericsvn)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/empty-items-array/)
 * I have a main menu setup in wordpress, and it shows up in my theme just fine.
   When I try to use your plugin (with v2 of WP API), it returns the menus, but 
   when I try and get a specific menu, the items array is empty (even though the“
   count” property reports 24). Below is the JSON response I receive. Other than
   setting up a menu and assigning it as the “Primary Menu” is there anything else
   I need to do to get my menu items to show up in the API response?
 *     ```
       {
       	"ID": 19,
       	"name": "Main Menu",
       	"slug": "main-menu",
       	"description": "",
       	"count": 24,
       	"items": [],
       	"meta": {
       		"links": {
       			"collection": "http:\/\/192.168.99.100:8080\/wp-json\/wp\/v2\/menus\/",
       			"self": "http:\/\/192.168.99.100:8080\/wp-json\/wp\/v2\/menus\/19"
       		}
       	}
       }
       ```
   
 * [https://wordpress.org/plugins/wp-api-menus/](https://wordpress.org/plugins/wp-api-menus/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [LaustDeleuran](https://wordpress.org/support/users/laustdeleuran/)
 * (@laustdeleuran)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/empty-items-array/#post-6952874)
 * +1 – I have the exact same issue on WP 4.4.1 and WP API v2.
 *  [LaustDeleuran](https://wordpress.org/support/users/laustdeleuran/)
 * (@laustdeleuran)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/empty-items-array/#post-6952875)
 * I [reposted this issue on the Github repo](https://github.com/unfulvio/wp-api-menus/issues/19).
 *  [dobbler31](https://wordpress.org/support/users/dobbler31/)
 * (@dobbler31)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/empty-items-array/#post-6952899)
 * I’ve submitted a pull request for this here: [https://github.com/unfulvio/wp-api-menus/pull/20/files](https://github.com/unfulvio/wp-api-menus/pull/20/files)
 *  [Bullewinkle](https://wordpress.org/support/users/bullewinkle/)
 * (@bullewinkle)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/empty-items-array/#post-6952954)
 * Hello! [dobbler31](https://wordpress.org/support/profile/dobbler31), thank you
   for your fix! Could you please or someone to update version of this plugin to
   add users ability to install the updated version right from wp, i.e. [https://downloads.wordpress.org/plugin/wp-api-menus.1.2.1.zip](https://downloads.wordpress.org/plugin/wp-api-menus.1.2.1.zip)
 *  Plugin Author [Fulvio Notarstefano](https://wordpress.org/support/users/nekojira/)
 * (@nekojira)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/empty-items-array/#post-6952965)
 * I’ve updated the code / merged PRs on the Github repo
 * [https://github.com/unfulvio/wp-api-menus](https://github.com/unfulvio/wp-api-menus)
 * anyone reading this thread could you check it out from the master branch and 
   let me know if issues are solved for all of you?
 * thank you

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Empty Items Array’ is closed to new replies.

 * ![](https://ps.w.org/wp-api-menus/assets/icon-256x256.png?rev=1070279)
 * [WP API Menus](https://wordpress.org/plugins/wp-api-menus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-api-menus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-api-menus/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-api-menus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-api-menus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-api-menus/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [Fulvio Notarstefano](https://wordpress.org/support/users/nekojira/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/empty-items-array/#post-6952965)
 * Status: resolved