Title: Critical error
Last modified: August 7, 2022

---

# Critical error

 *  Resolved [l8rpeace](https://wordpress.org/support/users/l8rpeace/)
 * (@l8rpeace)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/critical-error-380/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-error-380%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [sademhaj](https://wordpress.org/support/users/jahmedas/)
 * (@jahmedas)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/critical-error-380/#post-15898646)
 * Hi [@l8rpeace](https://wordpress.org/support/users/l8rpeace/)
 * This issue has been fixed with our next release, Please update the core plugin
   and it will be fixed.
 * Regards
 *  Thread Starter [l8rpeace](https://wordpress.org/support/users/l8rpeace/)
 * (@l8rpeace)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/critical-error-380/#post-15898783)
 * Thanks! I’m on version 6.1.0 right now and receiving the error. Is the new version
   coming out soon or can I install the beta of the next version?
 *  [sademhaj](https://wordpress.org/support/users/jahmedas/)
 * (@jahmedas)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/critical-error-380/#post-15906038)
 * Hi [@l8rpeace](https://wordpress.org/support/users/l8rpeace/)
 * Thanks, the new version is out V6.1.1, please check and let us know the results.
 * Warm regards
 *  Plugin Author [Yeison Baron](https://wordpress.org/support/users/yeisonbp/)
 * (@yeisonbp)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/critical-error-380/#post-15939767)
 * Hi [@l8rpeace](https://wordpress.org/support/users/l8rpeace/),
 * We released version 6.1.1. Please update and let us know if the issue continues.
 * Thanks!
 *  Plugin Author [Yeison Baron](https://wordpress.org/support/users/yeisonbp/)
 * (@yeisonbp)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/critical-error-380/#post-15981558)
 * Hi,
 * Marking as solved, but if the issue continues, let us know.
 * Thanks!

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

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

 * ![](https://ps.w.org/awesome-support/assets/icon-256x256.png?rev=1849681)
 * [Awesome Support - WordPress HelpDesk & Support Plugin](https://wordpress.org/plugins/awesome-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-support/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-support/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Yeison Baron](https://wordpress.org/support/users/yeisonbp/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/critical-error-380/#post-15981558)
 * Status: resolved