Title: Debug Toolkit Crashes Formidable Forms
Last modified: March 11, 2019

---

# Debug Toolkit Crashes Formidable Forms

 *  [Victor Font](https://wordpress.org/support/users/vfontj/)
 * (@vfontj)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/debug-toolkit-crashes-formidable-forms/)
 * This might be an edge case, but the new plugin is crashing while debugging a 
   plugin I’m writing for Formidable Forms. The plugin is designed to write form
   data to flat tables for better reporting. Acceptable fields receive a “save to
   db” checkbox in their options.
 * The stand alone kint debugger still works fine. But with either plugin loaded,
   the form stops loading after an error.
 * The debug toolkit plugin displays 1 whoops error that has nothing to do with 
   this form. The php error log is showing that an array value is not being initialized
   properly. Old school PHP debugging works fine though.
 * I’m not even sure how you can check this unless you use Formidable and I can 
   send you my plugin.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdebug-toolkit-crashes-formidable-forms%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/debug-toolkit-crashes-formidable-forms/#post-11373793)
 * Which version of WordPress and PHP are you using? Are you using latest version
   of Formidable?
 * What’s the actual (irrelevant) error?
 *  Thread Starter [Victor Font](https://wordpress.org/support/users/vfontj/)
 * (@vfontj)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/debug-toolkit-crashes-formidable-forms/#post-11375590)
 * WordPress 5.1.1
    PHP 7.1.23
 * Yes, to latest Formidable.
 * I suspect that the issue is probably related to the fact that this version of
   Kint displays on the bottom of the screen. Formidable runs a many loops to display
   its content. With the standalone Kint plugin, you can place a d() in the middle
   of a loop and see the output exactly where it outputs as many times as it executes.
 * The new location isn’t useful. Whoops only shows as a single line of text, and
   when something finally does display, the entire screen has been turned into a
   multi-column display instead of a normal looking screen.
 * My dev environment is local on my Mac using the native Apache and PHP installed
   with Mohave. I had to revert back to the stand alone Kint to get my development
   work done.
 *  [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/debug-toolkit-crashes-formidable-forms/#post-11378973)
 * That should be enough for [@hellofromtonya](https://wordpress.org/support/users/hellofromtonya/)
   to run with…
 *  Plugin Author [Tonya Mork](https://wordpress.org/support/users/hellofromtonya/)
 * (@hellofromtonya)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/debug-toolkit-crashes-formidable-forms/#post-11379595)
 * Hello [@vfontj](https://wordpress.org/support/users/vfontj/),
 * Sorry for the late response. And thank you for the extra information to help 
   me sort this out for you. If don’t mind, let me ask a few additional questions.
 * All of the questions I’ll ask are to help me investigate, find the root cause,
   and formulate a solution strategy. Victor, thank you for helping me with this.
 * > The stand alone kint debugger still works fine. But with either plugin loaded,
   > the form stops loading after an error.
    1. “But with either plugin loaded” – To clarify, if an error occurs, the form does
       not load with either the Kint Debugger and Debug Toolkit plugins. Is that correct?
    2. When this happens, what function are you using from Kint?
    3. Without either debugging plugin, does the form load with an error?
    4. What kind of error are you getting: notice, warning, or fatal error?
    5. What is the error?
 * > The debug toolkit plugin displays 1 whoops error that has nothing to do with
   > this form. The php error log is showing that an array value is not being initialized
   > properly. Old school PHP debugging works fine though.
 * It sounds like there’s some competing styling happening. Let’s talk about it.
 * **Variable Inspection:**
    The new version of Kint gathers up all of the rendering
   and displays it at a fixed position at the bottom of the screen.
 * Action: Switch to using `vdump()` instead instead of `d()`. Notice that `vdump()`
   renders where the content would appear. Does this give you the information and
   debug experience you want and need when working with Formidable Forms?
 * **How about Whoops?**
    Whoops attempts to overlays the entire screen to provide
   you with detailed information and help for a notice, warning, and fatal error.
   From what you are describing, it the form and/or something else is competing 
   for the same top-level view.
 * My Action: Thank you for reporting this edge case. Currently, I’m not modifying
   the out-of-box experience with Kint or Whoops. But for Whoops, it seems we need
   a way to (1) disable it if you don’t want it and (2) handle the top-level display
   competition.

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

The topic ‘Debug Toolkit Crashes Formidable Forms’ is closed to new replies.

 * ![](https://ps.w.org/debug-toolkit/assets/icon-256x256.png?rev=2047222)
 * [Debug Toolkit](https://wordpress.org/plugins/debug-toolkit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/debug-toolkit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/debug-toolkit/)
 * [Active Topics](https://wordpress.org/support/plugin/debug-toolkit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/debug-toolkit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/debug-toolkit/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Tonya Mork](https://wordpress.org/support/users/hellofromtonya/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/debug-toolkit-crashes-formidable-forms/#post-11379595)
 * Status: not resolved