• Resolved Gourav RR

    (@gouravrr)


    Hello,

    I want to generate woocommerce sales report, and when I tried to generate woocommerce sales report of custom date range (2019-01-01 to 2019-12-31), it is not generating the report for the period, instead it shows an error message “Can’t load wc-reports”.

    Further, I found the “post_type=post” query string parameter in the reports URL below:
    /wp-admin/admin.php?page=wc-reports&post_type=post&range=custom&start_date=2019-01-01&end_date=2019-12-31&wc_reports_nonce=be9f465bb8

    and when I tried this URL without “post_type=post” query string parameter, the report is getting generated.

    Can anyone let me know what the issue is? why the “post_type=post” parameter is getting added in URL?

    How can I resolve this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    As a first step, can you share a copy of your status report found under **WooCommerce > Status**? Are you seeing the same issue when using the new Analytics report?

    Thread Starter Gourav RR

    (@gouravrr)

    @riaanknoetze

    Yes, I am not able to generate any report of custom date range.

    here below is the system status of woocommerce

    https://drive.google.com/file/d/193FTCjxjBkdR7UUSSEM2DWXGejiTOeDB/view?usp=sharing

    Plugin Support Sunday Ukafia (a11n)

    (@sukafia)

    Hi @gouravrr,

    On your system status report, I noticed you’re using an outdated version of: WooCommerce (3.5.3), WordPress (5.3.9), PHP (7.0) and almost all of your WooCommerce template files are outdated. 😳

    We recommend keeping your site up to date for full compatibility.

    Any of the above-mentioned information could be causing the issue. It’s also possible this issue may have been resolved in the recent version of WooCommerce and WordPress.

    Another thing that may cause an issue like this is a plugin or theme conflict. We have the steps to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    What I’d recommend is backing up your site and doing an update. It’s highly recommended to create a duplicate copy of your site (staging) and first running the update on the staging site.

    I hope this helps.

    Thread Starter Gourav RR

    (@gouravrr)

    @sukafia I am sure that, this issue will get resolved by updating all the plugins and wordpress versions to the latest, but I don’t want to update those, because we have lots of code which is custom.

    For now I resolved this issue myself. But this is temporary fix, later I will do update.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t load sales report’ is closed to new replies.