• SlimZombie

    (@ramymoussa)


    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”]}

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ELEXtensions

    (@elextensions)

    Hello @SlimZombie,

    Greetings from ELEXtensions! I am checking the critical error at our end and will share the update soon. Additionally, Can you please share the version number of WooCommerce, WordPress, PHP and our plugin installed on your website for our further analysis?

    Looking forward to hearing from you.

    Thread Starter SlimZombie

    (@ramymoussa)

    Thank you for your reply:

    WooCommerce version:8.7.0
    WordPress version: 6.4.3
    PHP version: 8.2.17
    ELEX WooCommerce Request a Quote – Basic: Version 4.1.3

    Thread Starter SlimZombie

    (@ramymoussa)

    It’s also worth mentioning that I’ve tried disabling all plugins except Woocommerce and the ElEx quote plugins but it still same results

    Plugin Author ELEXtensions

    (@elextensions)

    Hllo SlimZombie(@ramymoussa),

    A new version (2.1.9) of the plugin is released with the issue fix. Kindly update the plugin and let us know your?feedback.

    If you have any further questions or concerns, please don’t hesitate to let us know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Form submit action not working’ is closed to new replies.