Critical Error on Ticket Submission
-
When submitting a new ticket the system responds with a WordPress Critical Error message but the ticket is created. Obviously I don’t want my customers to see this. I’m running WordPress 6.1.1 and PHP 7.4.33
The page I need help with: [log in to see the link]
-
Hi @cesdls
Thank you for reaching out. Can you please check if it is a conflict with another plugin?
To check for conflicts with another plugin, you can follow these steps:
- Deactivate all plugins except for the one you want to test.
- Activate the plugin you want to test.
- Check if the conflict still occurs.
- If the conflict is resolved, reactivate each plugin one by one, checking after each activation if the conflict returns.
- If the conflict returns after activating a specific plugin, you have found the source of the conflict.
If you couldn’t identify the problem, please send us a debug.log file for checking. If you have any questions, please let me know.
Regards
Thanks. I got it working temporarily by disabling the file upload feature, that seems to be where the error is occurring. See the error details below.
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/custom-fields/field-types/class-cf-taxonomy.php on line 52
Fatal error: Uncaught TypeError: pathinfo(): Argument #1 ($path) must be of type string, array given in /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/file-uploader/class-file-uploader.php:1402 Stack trace: #0 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/file-uploader/class-file-uploader.php(1402): pathinfo(Array, 4) #1 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(308): WPAS_File_Upload->limit_upload(Array) #2 /home4/artmodel/public_html/utahdesertremote/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /home4/artmodel/public_html/utahdesertremote/wp-admin/includes/file.php(803): apply_filters(‘wp_handle_uploa…’, Array) #4 /home4/artmodel/public_html/utahdesertremote/wp-admin/includes/file.php(1075): wp_handle_upload(Array, Array, ‘2023-02-05 15:5…’, ‘wp_handle_uploa…’) #5 /home4/artmodel/public_html/utahdesertremote/wp-admin/includes/media.php(303): wp_handle_upload(Array, Array, ‘2023-02-05 15:5…’) #6 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/file-uploader/class-file-uploader.php(1198): media_handle_upload(‘wpas_files_0’, 1218) #7 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/file-uploader/class-file-uploader.php(1514): WPAS_File_Upload->process_upload() #8 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(308): WPAS_File_Upload->new_ticket_attachment(1218, Array) #9 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #10 /home4/artmodel/public_html/utahdesertremote/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/functions-post.php(387): do_action(‘wpas_open_ticke…’, 1218, Array) #12 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/functions-post.php(149): wpas_insert_ticket(Array, false, 1, ‘standard-ticket…’) #13 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/functions-post.php(185): wpas_open_ticket(Array) #14 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(308): wpas_new_ticket_submission(Array) #15 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #16 /home4/artmodel/public_html/utahdesertremote/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #17 /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/functions-actions.php(40): do_action(‘wpas_do_submit…’, Array) #18 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(308): wpas_process_actions(”) #19 /home4/artmodel/public_html/utahdesertremote/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #20 /home4/artmodel/public_html/utahdesertremote/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #21 /home4/artmodel/public_html/utahdesertremote/wp-settings.php(617): do_action(‘init’) #22 /home4/artmodel/public_html/utahdesertremote/wp-config.php(158): require_once(‘/home4/artmodel…’) #23 /home4/artmodel/public_html/utahdesertremote/wp-load.php(50): require_once(‘/home4/artmodel…’) #24 /home4/artmodel/public_html/utahdesertremote/wp-blog-header.php(13): require_once(‘/home4/artmodel…’) #25 /home4/artmodel/public_html/utahdesertremote/index.php(17): require(‘/home4/artmodel…’) #26 {main} thrown in /home4/artmodel/public_html/utahdesertremote/wp-content/plugins/awesome-support/includes/file-uploader/class-file-uploader.php on line 1402
Hi @cesdls
Thanks for the information. Can you please confirm the awesome support’s version you are using?
Regards
Awesome Support 6.1.2
Hi @cesdls
Thank you for waiting. We tried to reproduce this issue on our end but we couldn’t reproduce it.
The developer needs to look deeper into it and might need access to the site. For support with this issue, you need to open a ticket with us. If you are not a premium user, you can purchase pirority support from here.
https://getawesomesupport.com/addons/priority-support-request/
If you have any questions, please let me know.
Regards
- The topic ‘Critical Error on Ticket Submission’ is closed to new replies.