• Resolved Hashirama Senju

    (@hashirama244)


    hi there i am getting following fatal error when try to create page with shortcode [tfhb_meetings title=”Title” subtitle=”Sub title” category=”all” hosts=”all” sort_by=”id” order_by=”DESC” limit=”9″]

    PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in wp-content\plugins\hydra-booking\app\Shortcode\ShortcodeBuilder.php:64

    Stack trace:

    #0 wp-content\plugins\hydra-booking\app\Shortcode\ShortcodeBuilder.php(64): in_array('id', NULL, true)

    #1 wp-includes\shortcodes.php(434): HydraBooking\App\Shortcode\ShortcodeBuilder->tfhb_meetings_callback(Array, '', 'tfhb_meetings')

    #2 [internal function]: do_shortcode_tag(Array)

    #3 wp-includes\shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(tfhb_m...', 'do_shortcode_ta...', '[tfhb_meetings ...')

    #4 wp-includes\class-wp-hook.php(324): do_shortcode('[tfhb_meetings ...')

    #5 wp-includes\plugin.php(205): WP_Hook->apply_filters('[tfhb_meetings ...', Array)

    #6 wp-includes\rest-api\endpoints\class-wp-rest-posts-controller.php(1961): apply_filters('the_content', '<!-- wp:shortco...')

    #7 wp-includes\rest-api\endpoints\class-wp-rest-posts-controller.php(1038): WP_REST_Posts_Controller->prepare_item_for_response(Object(WP_Post), Object(WP_REST_Request))

    #8 wp-includes\rest-api\class-wp-rest-server.php(1292): WP_REST_Posts_Controller->update_item(Object(WP_REST_Request))

    #9 wp-includes\rest-api\class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/pages/(?...', Array, NULL)

    #10 wp-includes\rest-api\class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request))

    #11 wp-includes\rest-api.php(459): WP_REST_Server->serve_request('/wp/v2/pages/34...')

    #12 wp-includes\class-wp-hook.php(324): rest_api_loaded(Object(WP))

    #13 wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters('', Array)

    #14 wp-includes\plugin.php(565): WP_Hook->do_action(Array)

    #15 wp-includes\class-wp.php(418): do_action_ref_array('parse_request', Array)

    #16 wp-includes\class-wp.php(818): WP->parse_request('')

    #17 wp-includes\functions.php(1342): WP->main('')

    #18 wp-blog-header.php(16): wp()

    #19 index.php(17): require('D:\\xampp\\htdocs...')

    #20 {main}

      thrown in wp-content\plugins\hydra-booking\app\Shortcode\ShortcodeBuilder.php on line 64
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor hasanet

    (@hasanet)

    @hashirama244

    We’ve already released a patch addressing the issue you encountered. Could you please update to the latest version and let us know if the problem has been resolved?

    I also noticed that you left a 1-star review. I truly understand your frustration, and I fully acknowledge that the issue was on our end. That said, we’ve worked quickly to fix it, and I can assure you it was never our intention to cause inconvenience.

    We put a great deal of effort into providing value to the community, and your feedback helps us improve. If the issue is resolved to your satisfaction, I would sincerely appreciate it if you could consider updating your review.

    Thank you again for all your input and support.

    Plugin Contributor hasanet

    (@hasanet)

    @hashirama244 Is the issue resolved? Waiting for a confirmation.

    Thread Starter Hashirama Senju

    (@hashirama244)

    hello team Thank you for very very quick response

    issue is resolved with new version.

    I have also updated review. It is impressive how quickly you take an action.

    thank you.

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

The topic ‘Fatal error when try to create page with shortcode’ is closed to new replies.