Form submit action not working
-
Hello,
I’m facing an issues with the Form Submit button at the Quotes List page. I tried the plugin and I’ve added a product to the quote list, but once I click on Submit in the quote it clears the form data and nothing else. The form doesn’t redirect to the “Send Request” Button Redirectional URl, or display a success message.
I checked the log and here’s what’s in it:
2024-03-23T05:08:59+00:00 CRITICAL Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in /home4/nlinenb1/public_html/.website_ad1ee0ce/wp-content/plugins/elex-request-a-quote/src/simpleProductContent.php:19 CONTEXT: {“error”:{“type”:1,”file”:”\/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-content\/plugins\/elex-request-a-quote\/src\/simpleProductContent.php”,”line”:19},”backtrace”:[“”,”#0 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-content\/plugins\/elex-request-a-quote\/src\/simpleProductContent.php(19): number_format(”, 2)”,”#1 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-content\/plugins\/elex-request-a-quote\/src\/Templates\/order_items.php(86): require(‘\/home4\/nlinenb1…’)”,”#2 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-content\/plugins\/elex-request-a-quote\/src\/TemplateSetting\/Models\/TemplateModel.php(319): include(‘\/home4\/nlinenb1…’)”,”#3 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-content\/plugins\/elex-request-a-quote\/src\/TemplateSetting\/Models\/TemplateModel.php(262): Elex\RequestAQuote\TemplateSetting\Models\TemplateModel::get_order_info(991024)”,”#4 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-content\/plugins\/elex-request-a-quote\/src\/Notification\/NotificationController.php(49): Elex\RequestAQuote\TemplateSetting\Models\TemplateModel::get_email_body(991024)”,”#5 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-includes\/class-wp-hook.php(326): Elex\RequestAQuote\Notification\NotificationController::send_email_to_admin(991024)”,”#6 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”,”#7 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-includes\/plugin.php(517): WP_Hook->do_action(Array)”,”#8 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-content\/plugins\/woocommerce\/includes\/class-wc-order.php(411): do_action(‘woocommerce_ord…’, 991024, Object(WC_Order), Array)”,”#9 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-content\/plugins\/woocommerce\/includes\/class-wc-order.php(253): WC_Order->status_transition()”,”#10 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-content\/plugins\/woocommerce\/includes\/class-wc-order.php(365): WC_Order->save()”,”#11 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-content\/plugins\/elex-request-a-quote\/src\/Quotelist\/Models\/QuoteListModel.php(304): WC_Order->update_status(‘quote-requested’, ‘Quote Requested’, true)”,”#12 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-content\/plugins\/elex-request-a-quote\/src\/Quotelist\/QuoteListController.php(262): Elex\RequestAQuote\Quotelist\Models\QuoteListModel::elex_raq_add_products_order(Object(WC_Order), Array)”,”#13 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-includes\/class-wp-hook.php(324): Elex\RequestAQuote\Quotelist\QuoteListController::elex_place_order(”)”,”#14 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”,”#15 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-includes\/plugin.php(517): WP_Hook->do_action(Array)”,”#16 \/home4\/nlinenb1\/public_html\/.website_ad1ee0ce\/wp-admin\/admin-ajax.php(188): do_action(‘wp_ajax_elex_ra…’)”,”#17 {main}”,”thrown”]}
- The topic ‘Form submit action not working’ is closed to new replies.