Title: Index &#8216;type&#8217; Undefined
Last modified: January 11, 2018

---

# Index ‘type’ Undefined

 *  Resolved [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/index-type-undefined/)
 * I have a _massive_ amount of errors in my debug log regarding to an undefined
   index `type`:
 *     ```
       Undefined index: type in /wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-ui-settings-forms.php on line 168
       Undefined index: type in /wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-model.php on line 3431
       Undefined index: type in /wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-icons.php on line 316
       Undefined index: type in /wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-fonts.php on line 164
       Undefined index: type in /wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-ui-settings-forms.php on line 278
       ```
   
 * Between Jan 4th and the 11th ( today ) my log has accumulated 6MB of repeated
   errors above. I’ve since has to disable logging until the issue has been narrowed
   down. I’ve got a debug backtrace in place to maybe track what specifically is
   causing the issues but so far it has not triggered.
 * WordPress is up to date, plugins are up to date. The only plugins I can think
   that may be affecting BB are Advanced Custom Fields ( basic ) and TinyMCE Advanced.
   Anyone who may have insight into the issue feel free to post below!

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

 *  Plugin Author [Simon Prosser](https://wordpress.org/support/users/pross/)
 * (@pross)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/index-type-undefined/#post-9855593)
 * Do you have any custom modules for Beaver Builder, or any custom code that might
   be adding/changing options within any modules?
 * These are not warnings that we have seen before.
 *  Thread Starter [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/index-type-undefined/#post-9855672)
 * You’re absolutely right, it appears to be some custom code and thus a non-issue.
   There’s in the theme which changes module defaults. I’m not sure if the Advanced
   Module ever had these indices but as it turns out `module_advanced` does not 
   have `fields -> margin_left`
 *     ```
       function theme_bb_module_defaults( $form, $id ) {
   
           if( 'module_advanced' == $id ) {
               $form['sections']['margins']['fields']['margin_left']['default'] 	= 0;
               $form['sections']['margins']['fields']['margin_right']['default'] 	= 0;
               $form['sections']['margins']['fields']['margin_top']['default'] 	= 0;
               $form['sections']['margins']['fields']['margin_bottom']['default'] 	= 0;
           }
   
           return $form;
       }
       add_filter( 'fl_builder_register_settings_form', 'theme_bb_module_defaults' , 10, 2 );
       ```
   
 * I cannot tell why that was put into place to begin with. Once removed errors 
   disappears so there’s that!

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

The topic ‘Index ‘type’ Undefined’ is closed to new replies.

 * ![](https://ps.w.org/beaver-builder-lite-version/assets/icon-256x256.png?rev=
   2361183)
 * [Beaver Builder Page Builder - Drag and Drop Website Builder](https://wordpress.org/plugins/beaver-builder-lite-version/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/beaver-builder-lite-version/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/beaver-builder-lite-version/)
 * [Active Topics](https://wordpress.org/support/plugin/beaver-builder-lite-version/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/beaver-builder-lite-version/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/beaver-builder-lite-version/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/index-type-undefined/#post-9855672)
 * Status: resolved