• Resolved l8rpeace

    (@l8rpeace)


    I receive a critical error when trying to create a ticket either through the website (as a logged in user) or via the wordpress admin console (…/wp-admin/post-new.php?post_type=ticket). The stack trace is as follows in the wordpress error log below.

    Is this an issue with Elementor? It’s quite unclear because it looks like an invalid argument is being passed when attempting to create a ticket.

    TIA!

    [07-Aug-2022 17:48:56 UTC] PHP Fatal error:  Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /home2/suyxrlmy/public_html/wp-includes/formatting.php:1595
    Stack trace:
    #0 /home2/suyxrlmy/public_html/wp-includes/formatting.php(1595): preg_match('/[\\x80-\\xff]/', Array)
    #1 /home2/suyxrlmy/public_html/wp-includes/formatting.php(2195): remove_accents(Array)
    #2 /home2/suyxrlmy/public_html/wp-content/plugins/awesome-support_OLD/includes/class-product-sync.php(237): sanitize_title(Array)
    #3 /home2/suyxrlmy/public_html/wp-content/plugins/awesome-support_OLD/includes/class-product-sync.php(517): WPAS_Product_Sync->map_args(Array)
    #4 /home2/suyxrlmy/public_html/wp-includes/class-wp-hook.php(309): WPAS_Product_Sync->get_terms(Array, Array, Array)
    #5 /home2/suyxrlmy/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array)
    #6 /home2/suyxrlmy/public_html/wp-includes/taxonomy.php(1334): apply_filters('get_terms', Array, Array, Array, Object(WP_Term_Query))
    #7 /home2/suyxrlmy/public_html/wp-content/plugins/awesome-support_OLD/includes/custom-fields/field-types/class-cf-taxonomy.php(43): get_terms(Array, Array)
    #8 /home2/suyxrlmy/public_html/wp-content/plugins/awesome-support_OLD/includes/custom-fields/class-custom-field.php(522): WPAS_CF_Taxonomy->__construct('product', Array)
    #9 /home2/suyxrlmy/public_html/wp-content/plugins/awesome-support_OLD/includes/custom-fields/class-custom-field.php(826): WPAS_Custom_Field->get_field_markup()
    #10 /home2/suyxrlmy/public_html/wp-content/plugins/awesome-support_OLD/includes/custom-fields/class-custom-fields.php(386): WPAS_Custom_Field->get_output()
    #11 /home2/suyxrlmy/public_html/wp-content/plugins/awesome-support_OLD/themes/default/submission.php(90): WPAS_Custom_Fields->submission_form_fields()
    #12 /home2/suyxrlmy/public_html/wp-content/plugins/awesome-support_OLD/includes/functions-templating.php(177): include('/home2/suyxrlmy...')
    #13 /home2/suyxrlmy/public_html/wp-content/plugins/awesome-support_OLD/includes/shortcodes/shortcode-submit.php(134): wpas_get_template('submission')
    #14 /home2/suyxrlmy/public_html/wp-includes/shortcodes.php(356): wpas_sc_submit_form('', '', 'ticket-submit')
    #15 [internal function]: do_shortcode_tag(Array)
    #16 /home2/suyxrlmy/public_html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(ticket...', 'do_shortcode_ta...', '[ticket-submit]')
    #17 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/includes/widgets/shortcode.php(130): do_shortcode('[ticket-submit]')
    #18 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2221): Elementor\Widget_Shortcode->render()
    #19 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode()
    #20 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content()
    #21 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Widget_Base->print_content()
    #22 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/includes/base/element-base.php(767): Elementor\Element_Base->print_element()
    #23 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content()
    #24 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/includes/base/element-base.php(767): Elementor\Element_Base->print_element()
    #25 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content()
    #26 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/core/base/document.php(1565): Elementor\Element_Base->print_element()
    #27 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/core/base/document.php(1016): Elementor\Core\Base\Document->print_elements(Array)
    #28 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/includes/frontend.php(1092): Elementor\Core\Base\Document->print_elements_with_wrapper(Array)
    #29 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/includes/frontend.php(1006): Elementor\Frontend->get_builder_content(6432)
    #30 /home2/suyxrlmy/public_html/wp-includes/class-wp-hook.php(307): Elementor\Frontend->apply_builder_in_content('<h1>Support Tic...')
    #31 /home2/suyxrlmy/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters('<h1>Support Tic...', Array)
    #32 /home2/suyxrlmy/public_html/wp-includes/post-template.php(253): apply_filters('the_content', '<h1>Support Tic...')
    #33 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/modules/page-templates/module.php(190): the_content()
    #34 [internal function]: Elementor\Modules\PageTemplates\Module->print_callback()
    #35 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/modules/page-templates/module.php(207): call_user_func(Array)
    #36 /home2/suyxrlmy/public_html/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(19): Elementor\Modules\PageTemplates\Module->print_content()
    #37 /home2/suyxrlmy/public_html/wp-includes/template-loader.php(106): include('/home2/suyxrlmy...')
    #38 /home2/suyxrlmy/public_html/wp-blog-header.php(19): require_once('/home2/suyxrlmy...')
    #39 /home2/suyxrlmy/public_html/index.php(17): require('/home2/suyxrlmy...')
    #40 {main}
      thrown in /home2/suyxrlmy/public_html/wp-includes/formatting.php on line 1595

    The page I need help with: [log in to see the link]

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

The topic ‘Critical error’ is closed to new replies.