• Resolved manpreetparisjewellers

    (@manpreetparisjewellers)


    Hi Team, Please see the below error that we are facing in our reports section.
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 375 of the file /home/parisjeweller/public_html/wp-content/plugins/woo-multi-currency/admin/reports.php. Error message: Uncaught TypeError: Unsupported operand types: string / string in /home/public_html/wp-content/plugins/woo-multi-currency/admin/reports.php:375
    Stack trace:
    #0 /home/public_html/wp-content/plugins/woo-multi-currency/admin/reports.php(539): WOOMULTI_CURRENCY_F_Admin_Reports::convert_to_default_currency('line_item', '0.773')
    #1 /home/public_html/wp-includes/class-wp-hook.php(308): WOOMULTI_CURRENCY_F_Admin_Reports->woocommerce_reports_get_order_report_data_1(Array, Array)
    #2 /home/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #3 /home/public_html/wp-content/plugins/woocommerce/includes/admin/reports/class-wc-admin-report.php(361): apply_filters('woocommerce_rep...', Array, Array)
    #4 /home/public_html/wp-content/plugins/woocommerce/includes/admin/reports/class-wc-report-sales-by-date.php(339): WC_Admin_Report->get_order_report_data(Array)
    #5 /home/public_html/wp-content/plugins/woocommerce/includes/admin/reports/class-wc-report-sales-by-date.php(39): WC_Report_Sales_By_Date->query_report_data()
    #6 /home/public_html/wp-content/plugins/woocommerce/includes/admin/reports/class-wc-report-sales-by-date.php(454): WC_Report_Sales_By_Date->get_report_data()
    #7 /home/public_html/wp-content/plugins/woocommerce/includes/admin/views/html-report-by-date.php(68): WC_Report_Sales_By_Date->get_chart_legend()
    #8 /home/public_html/wp-content/plugins/woocommerce/includes/admin/reports/class-wc-report-sales-by-date.php(604): include('/home/parisjewe...')
    #9 /home/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-reports.php(177): WC_Report_Sales_By_Date->output_report()
    #10 /home/public_html/wp-content/plugins/woocommerce/includes/admin/views/html-admin-page-reports.php(81): WC_Admin_Reports::get_report('sales-by-date')
    #11 /home/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-reports.php(36): include_once('/home/parisjewe...')
    #12 /home/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(280): WC_Admin_Reports::output()
    #13 /home/public_html/wp-includes/class-wp-hook.php(308): WC_Admin_Menus->reports_page('')
    #14 /home/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #15 /home/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #16 /home/public_html/wp-admin/admin.php(259): do_action('woocommerce_pag...')
    #17 {main}
    ? thrown
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hi,

    Thank you for reaching out to us.

    It’s the compatibility issue with PHP 8, our plugin for now is not compatible, please switch to PHP 7 instead.

    Best regards.

    Thread Starter manpreetparisjewellers

    (@manpreetparisjewellers)

    Thank you for the response. Do you now when you will release that version with compatibility.

    Plugin Support angelagrey

    (@angelagrey)

    For now our devs are caught up in another project so I’m not really sure. We’ll be doing our best to do it as soon as possible. The fix will be right in the next update but I can’t estimate its released day, I’m afraid.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error message: Uncaught TypeError: Unsupported operand types: string’ is closed to new replies.