Title: beeping's Replies | WordPress.org

---

# beeping

  [  ](https://wordpress.org/support/users/beeping/)

 *   [Profile](https://wordpress.org/support/users/beeping/)
 *   [Topics Started](https://wordpress.org/support/users/beeping/topics/)
 *   [Replies Created](https://wordpress.org/support/users/beeping/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/beeping/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/beeping/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/beeping/engagements/)
 *   [Favorites](https://wordpress.org/support/users/beeping/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MetForm - Contact Form, Survey, Quiz, & Custom Form Builder for Elementor] Undefined property: stdClass::$widgetType in map-el.php on line 79](https://wordpress.org/support/topic/undefined-property-stdclasswidgettype-in-map-el-php-on-line-79/)
 *  Thread Starter [beeping](https://wordpress.org/support/users/beeping/)
 * (@beeping)
 * [4 years ago](https://wordpress.org/support/topic/undefined-property-stdclasswidgettype-in-map-el-php-on-line-79/#post-15577338)
 * [@prosenjitbarman](https://wordpress.org/support/users/prosenjitbarman/) hi, 
   I don’t even use the conditions, nor do I even know how to. We are using free
   version of the plugin.
 * I’ve managed to fix the issue for now by changing the core file of the plugin:`
   metform/core/entries/form-data.php`
 * On lines 61 and 159 I’ve changed the existing line:
    `$conditions = $map_data[
   $key]["mf_conditional_logic_form_list"];`
 * to:
    `$conditions = $map_data[$key]["mf_conditional_logic_form_list"] ?? [];`
 * But this will stop working as soon as you update the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MetForm - Contact Form, Survey, Quiz, & Custom Form Builder for Elementor] Undefined property: stdClass::$widgetType in map-el.php on line 79](https://wordpress.org/support/topic/undefined-property-stdclasswidgettype-in-map-el-php-on-line-79/)
 *  Thread Starter [beeping](https://wordpress.org/support/users/beeping/)
 * (@beeping)
 * [4 years ago](https://wordpress.org/support/topic/undefined-property-stdclasswidgettype-in-map-el-php-on-line-79/#post-15574617)
 * [@prosenjitbarman](https://wordpress.org/support/users/prosenjitbarman/) thank
   you for your reply.
 * I’ve updated the plugin, but now all the form stopped working. When submitting
   we get “something wrong” error and my wordpress log shows this:
 *     ```
       [20-Apr-2022 11:28:19 UTC] PHP Warning:  Undefined array key "mf_conditional_logic_form_list" in /public_html/wp-content/plugins/metform/core/entries/form-data.php on line 158
       [20-Apr-2022 11:28:19 UTC] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /public_html/wp-content/plugins/metform/core/entries/form-data.php:159
       Stack trace:
       #0 /public_html/wp-content/plugins/metform/core/entries/form-data.php(159): count()
       #1 /public_html/wp-content/plugins/metform/core/entries/action.php(813): MetForm\Core\Entries\Form_Data::format_data_for_mail()
       #2 /public_html/wp-content/plugins/metform/core/entries/action.php(528): MetForm\Core\Entries\Action->send_admin_email()
       #3 /public_html/wp-content/plugins/metform/core/entries/api.php(35): MetForm\Core\Entries\Action->submit()
       #4 /public_html/wp-content/plugins/metform/base/api.php(40): MetForm\Core\Entries\Api->post_insert()
       #5 /public_html/wp-includes/rest-api/class-wp-rest-server.php(1141): MetForm\Base\Api->action()
       #6 /public_html/wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
       #7 /public_html/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch()
       #8 /public_html/wp-includes/rest-api.php(386): WP_REST_Server->serve_request()
       #9 /public_html/wp-includes/class-wp-hook.php(307): rest_api_loaded()
       #10 /public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
       #11 /public_html/wp-includes/plugin.php(522): WP_Hook->do_action()
       #12 /public_html/wp-includes/class-wp.php(396): do_action_ref_array()
       #13 /public_html/wp-includes/class-wp.php(758): WP->parse_request()
       #14 /public_html/wp-includes/functions.php(1310): WP->main()
       #15 /public_html/wp-blog-header.php(16): wp()
       #16 /public_html/index.php(17): require('...')
       #17 {main}
         thrown in /public_html/wp-content/plugins/metform/core/entries/form-data.php on line 159
       ```
   
    -  This reply was modified 4 years ago by [beeping](https://wordpress.org/support/users/beeping/).
    -  This reply was modified 4 years ago by [beeping](https://wordpress.org/support/users/beeping/).

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