Suspected Bug in campaign init / funding data calculation
-
Summary: The code to determine the funding progress seems to run into ridiculously large sql query loops on a woocommerce installation with 20K+ orders when a campaign does not have (and never had) start & end date set.
Steps to reproduce:
1. Set up user submission form with only the “description” field enabled
2. Submit a campaign
3. Publish the campaign/product without any further changes
4. As soon as the product or it’s category gets displayed, an awful lot of sql queries happen eating up memory and processing time and ultimately leading to termination of the request– If the ‘Add “Crowdfunding Data” column to the admin products list.’ option is active, then already the product list crashes
– If the submit product page has the fields of start and end date enabled, this error & the large query loop do not occur. Even if the fields were not filled out at submission time.
– If either start or end date were once set in the admin interface the error & the large query loop go away, even if they are unset again later
Smells like some classic incomplete initialization error which in turn triggers some very badly written DB-query code… ??
If you need more information or sql query protocols or if you need programming support / a good code review just drop me a line ??
If i was or can be helpful i’d be very happy about a single site license ??
- The topic ‘Suspected Bug in campaign init / funding data calculation’ is closed to new replies.