Title: Undefined array key &#8220;type&#8221;
Last modified: July 8, 2022

---

# Undefined array key “type”

 *  Resolved [internationils](https://wordpress.org/support/users/internationils/)
 * (@internationils)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/undefined-array-key-type/)
 * 2022-07-04_21:57:41_PHP Warning: Undefined array key “type” in /srv/data/web/
   vhosts/SITE.COM/htdocs/wp-content/plugins/jonradio-private-site/library/cmb2/
   includes/CMB2.php on line 1553
 * Getting a lot of this in the PHP logs… thanks for having a look!
 * I assume that once it is fixed the plugin developer needs to pull the fixed version
   into his plugin?

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [3 years, 11 months ago](https://wordpress.org/support/topic/undefined-array-key-type/#post-15809460)
 * Not sure there’s really anything we can fix for this on our end, as it looks 
   like that’s an index value that’s expected on every field being set up and what
   fields to set up is part of the developer using the library.
 * Have you checked with the plugin developers at all about this?
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [3 years, 11 months ago](https://wordpress.org/support/topic/undefined-array-key-type/#post-15809473)
 * Also do you by chance happen to know what setting page and whatnot may be causing
   these log entries the most? I could look into possibly installing the plugin 
   and trying to track down the source, if I know how to trigger the warnings
 *  Thread Starter [internationils](https://wordpress.org/support/users/internationils/)
 * (@internationils)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/undefined-array-key-type/#post-15813922)
 * [https://wordpress.org/plugins/jonradio-private-site/](https://wordpress.org/plugins/jonradio-private-site/)
   is the plugin… its triggered possibly somehow when the plugin is active and probably
   when people try to access the site and get sent to the login page.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [3 years, 11 months ago](https://wordpress.org/support/topic/undefined-array-key-type/#post-15816657)
 * Hey [@internationils](https://wordpress.org/support/users/internationils/) Thanks
   for that.
 * I did some investigations and was able to find out the source of the issue overall.
   I reached out to the plugin developer and shared my findings and how to address
   that error from populating logs. Hopefully they’ll get that handled soon.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [3 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-type/#post-15836807)
 * I’m told that the latest update to the plugin should help resolve these from 
   populating your logs.
 * Update when you get the chance.
 *  Thread Starter [internationils](https://wordpress.org/support/users/internationils/)
 * (@internationils)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-type/#post-15840829)
 * Yep, logs are clear again for all relevant sites… thanks for the help!!
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [3 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-type/#post-15842926)
 * Welcome.

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

The topic ‘Undefined array key “type”’ is closed to new replies.

 * ![](https://ps.w.org/cmb2/assets/icon.svg?rev=2866672)
 * [CMB2](https://wordpress.org/plugins/cmb2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cmb2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cmb2/)
 * [Active Topics](https://wordpress.org/support/plugin/cmb2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cmb2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cmb2/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-type/#post-15842926)
 * Status: resolved