getdokan / dokan

Multivendor marketplace platform
https://wordpress.org/plugins/dokan-lite/
259 stars 203 forks source link

Latest Dokan Lite Version Broke WooCommere Analytics #2429

Open ashtonlclark opened 2 weeks ago

ashtonlclark commented 2 weeks ago

Bug Description

The latest version of Dokan Lite contained an update to WooCommerce Analytics. When updating today, I noticed that it broke WooCommerce Analytics. Every number in WooComerce Analytics is now $0. How can this be resolved?

Step To Reproduce

  1. Upgrade to the latest version of Dokan Like (3.12.6)
  2. Access WooCommerce Analytics

Expected Behaviour

I expect that WooCommerce Analytics will show the correct data.

Actual Behaviour

Every number in WooCommerce Analytics shows as $0.

Additional Information

No response

Environment (please complete the following information)

Dokan Version: 3.12.6

All plugins are current and up to date.

ashtonlclark commented 2 weeks ago

Here is the database error.

"PHP message: WordPress database error Table 'tf.wp_dokan_order_stats' doesn't exist for query..."

mrabbani commented 1 week ago

Here is the database error.

"PHP message: WordPress database error Table 'tf.wp_dokan_order_stats' doesn't exist for query..."

Hi @ashtonlclark,

You might not run the Dokan Migration. You need to run the Dokan migration first as follows,

  1. Admin Panel -> Dokan->Dashboard
  2. Run migration from Dokan Slider notification.

Image

ashtonlclark commented 1 week ago

Thank you for sharing.

Unfortunately, after I upgraded, I do not see the Dokan migration button. Is there a way for me manually trigger it or access it somewhere else?

Thanks,

Ashton Clark


From: Mahbub Rabbani @.> Sent: Sunday, November 10, 2024 9:07:12 PM To: getdokan/dokan @.> Cc: ashtonlclark @.>; Mention @.> Subject: Re: [getdokan/dokan] Latest Dokan Lite Version Broke WooCommere Analytics (Issue #2429)

Here is the database error.

"PHP message: WordPress database error Table 'tf.wp_dokan_order_stats' doesn't exist for query..."

Hi @ashtonlclarkhttps://github.com/ashtonlclark,

You might not run the Dokan Migration. You need to run the Dokan migration first as follows,

  1. Admin Panel -> Dokan->Dashboard
  2. Run migration from Dokan Slider notification.

image.png (view on web)https://github.com/user-attachments/assets/18dafbbf-1b80-405c-bc5c-3860b64d6ce9

— Reply to this email directly, view it on GitHubhttps://github.com/getdokan/dokan/issues/2429#issuecomment-2467142806, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AACRU5CNWZFFT3OGR64DY7L2AANOBAVCNFSM6AAAAABRJWXKAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGE2DEOBQGY. You are receiving this because you were mentioned.Message ID: @.***>