Title: Long error when activating Pods Framework
Last modified: July 18, 2021

---

# Long error when activating Pods Framework

 *  Resolved [Bjarne Oldrup](https://wordpress.org/support/users/oldrup/)
 * (@oldrup)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/long-error-when-activating-pods-framework/)
 * On my WordPress 5.8 RC4 test bench, I now get this impressive error when showing
   or editing a post with a WS Form Lite form on it – provided Pods Framework plugin
   is also activated…
 * Is that something you are able to reproduce?
 * `Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class)
   must be of type object|string, array given in /home/oldrupdk/oldrup.net/wp-content/
   plugins/ws-form/includes/third-party/pods/class-ws-form-pods.php:42 Stack trace:#
   0 /home/oldrupdk/oldrup.net/wp-content/plugins/ws-form/includes/third-party/pods/
   class-ws-form-pods.php(42): method_exists(Array, 'get_groups') #1 /home/oldrupdk/
   oldrup.net/wp-content/plugins/ws-form/includes/data-sources/class-ws-form-data-
   source-pods.php(228): WS_Form_Pods::pods_get_fields_all(false, false, true, false,
   true) #2 /home/oldrupdk/oldrup.net/wp-includes/class-wp-hook.php(303): WS_Form_Data_Source_Pods-
   >config_meta_keys(Array, 0) #3 /home/oldrupdk/oldrup.net/wp-includes/plugin.php(
   189): WP_Hook->apply_filters(Array, Array) #4 /home/oldrupdk/oldrup.net/wp-content/
   plugins/ws-form/includes/class-ws-form-config.php(6386): apply_filters('wsf_config_meta...',
   Array, 0) #5 /home/oldrupdk/oldrup.net/wp-content/plugins/ws-form/includes/core/
   class-ws-form-form.php(457): WS_Form_Config::get_meta_keys() #6 /home/oldrupdk/
   oldrup.net/wp-content/plugins/ws-form/includes/core/class-ws-form-form.php(384):
   WS_Form_Form->data_source_process(Object(stdClass), false, Object(stdClass), 
   Array, true, 'form_parse') #7 /home/oldrupdk/oldrup.net/wp-content/plugins/ws-
   form/includes/core/class-ws-form-form.php(224): WS_Form_Form->form_parse(Object(
   stdClass), true) #8 /home/oldrupdk/oldrup.net/wp-content/plugins/ws-form/public/
   class-ws-form-public.php(281): WS_Form_Form->db_read_published(true) #9 /home/
   oldrupdk/oldrup.net/wp-includes/shortcodes.php(356): WS_Form_Public->shortcode_ws_form(
   Array, '', 'ws_form') #10 [internal function]: do_shortcode_tag(Array) #11 /home/
   oldrupdk/oldrup.net/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(
   ws_for...', 'do_shortcode_ta...', '[ws_form id="1"...') #12 /home/oldrupdk/oldrup.
   net/wp-content/plugins/ws-form/admin/class-ws-form-admin.php(1231): do_shortcode('[
   ws_form id="1"...') #13 /home/oldrupdk/oldrup.net/wp-includes/class-wp-block.
   php(221): WS_Form_Admin->block_render(Array, '', Object(WP_Block)) #14 /home/
   oldrupdk/oldrup.net/wp-includes/blocks.php(864): WP_Block->render() #15 /home/
   oldrupdk/oldrup.net/wp-includes/blocks.php(902): render_block(Array) #16 /home/
   oldrupdk/oldrup.net/wp-includes/class-wp-hook.php(303): do_blocks('<!-- wp:paragra...')#
   17 /home/oldrupdk/oldrup.net/wp-includes/plugin.php(189): WP_Hook->apply_filters('
   <!-- wp:paragra...', Array) #18 /home/oldrupdk/oldrup.net/wp-includes/rest-api/
   endpoints/class-wp-rest-posts-controller.php(1792): apply_filters('the_content','
   <!-- wp:paragra...') #19 /home/oldrupdk/oldrup.net/wp-includes/rest-api/endpoints/
   class-wp-rest-posts-controller.php(550): WP_REST_Posts_Controller->prepare_item_for_response(
   Object(WP_Post), Object(WP_REST_Request)) #20 /home/oldrupdk/oldrup.net/wp-includes/
   rest-api/class-wp-rest-server.php(1140): WP_REST_Posts_Controller->get_item(Object(
   WP_REST_Request)) #21 /home/oldrupdk/oldrup.net/wp-includes/rest-api/class-wp-
   rest-server.php(987): WP_REST_Server->respond_to_request(Object(WP_REST_Request),'/
   wp/v2/posts/(?...', Array, NULL) #22 /home/oldrupdk/oldrup.net/wp-includes/rest-
   api.php(495): WP_REST_Server->dispatch(Object(WP_REST_Request)) #23 /home/oldrupdk/
   oldrup.net/wp-includes/rest-api.php(2832): rest_do_request(Object(WP_REST_Request))#
   24 [internal function]: rest_preload_api_request(Array, '/wp/v2/posts/39...')#
   25 /home/oldrupdk/oldrup.net/wp-includes/block-editor.php(444): array_reduce(
   Array, 'rest_preload_ap...', Array) #26 /home/oldrupdk/oldrup.net/wp-admin/edit-
   form-blocks.php(68): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context))#
   27 /home/oldrupdk/oldrup.net/wp-admin/post.php(187): require('/home/oldrupdk/...')#
   28 {main} thrown in /home/oldrupdk/oldrup.net/wp-content/plugins/ws-form/includes/
   third-party/pods/class-ws-form-pods.php on line 42`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flong-error-when-activating-pods-framework%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Mark Westguard](https://wordpress.org/support/users/westguard/)
 * (@westguard)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/long-error-when-activating-pods-framework/#post-14673409)
 * Ooh that is an impressive one! Let me set up the same test environment with 5.8
   release candidate 4 and see if I get the same error. We’ll push an update ready
   for 5.8 if necessary.
 * Thanks for letting us know!
 * Mark
 *  Plugin Author [Mark Westguard](https://wordpress.org/support/users/westguard/)
 * (@westguard)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/long-error-when-activating-pods-framework/#post-14673457)
 * I was unable to recreate this error but I suspect there may be a certain condition
   in Pods that is resulting in our check for their forthcoming 2.8 release to fail.
   Our Pods integration takes advantage of some of the newer features that 2.8 has
   to offer, including groups.
 * We’ve made a very slight change to that check which should remedy this error 
   and we’ll get it pushed shortly once testing is complete.
 * Thank you again for letting us know about this.
 * Mark
 *  Plugin Author [Mark Westguard](https://wordpress.org/support/users/westguard/)
 * (@westguard)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/long-error-when-activating-pods-framework/#post-14673474)
 * Version 1.8.88 contains the fix for this.
 * Many thanks!
 * Mark
 *  Thread Starter [Bjarne Oldrup](https://wordpress.org/support/users/oldrup/)
 * (@oldrup)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/long-error-when-activating-pods-framework/#post-14673698)
 * > Version 1.8.88 contains the fix for this.
 * It indeed does.. Thank you 🙂 Both Pods and WS Forms runs smoothly on my testbench
   now – no more errors!
 * Bjarne

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

The topic ‘Long error when activating Pods Framework’ is closed to new replies.

 * ![](https://ps.w.org/ws-form/assets/icon-256x256.jpg?rev=2834651)
 * [WS Form LITE - Drag & Drop Contact Form Builder](https://wordpress.org/plugins/ws-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ws-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ws-form/)
 * [Active Topics](https://wordpress.org/support/plugin/ws-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ws-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ws-form/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Bjarne Oldrup](https://wordpress.org/support/users/oldrup/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/long-error-when-activating-pods-framework/#post-14673698)
 * Status: resolved