An analysis reads your orders and products a batch at a time, so on a large store it takes a while, and the bar can stay on one number while a batch runs. Keep a Tendlio page open until the analysis finishes, because your browser keeps the analysis moving while the page is open.
Why the bar stays on one number #
The bar moves each time Tendlio finishes a batch and saves its progress. On a store with many orders or products, each batch can move the bar by less than one percent, so the number can stay the same for a while.
The line under the bar says what Tendlio is working on, such as Reading every order ever placed…, and changes every few seconds. Each part of the analysis has only a few of these lines. If a part is still running when its lines run out, the last one stays on screen while the analysis goes on.
The last part, where Tendlio puts the results together, can’t show its progress as it goes, so the bar waits close to the end, on Tidying up the results…, until it’s done.
Keep a Tendlio page open #
While any Tendlio page is open, the bar shows at the top of it, and your browser asks Tendlio every few seconds to carry on with the analysis. You can keep working on other Tendlio pages in the meantime.
If you close every Tendlio page, the analysis goes on in the background, but only when WordPress runs its scheduled tasks. WordPress runs them when someone visits your site, or on a timer your host sets. So on a quiet site, or on one whose host runs them only a few times an hour, the analysis takes much longer. It moves faster again as soon as you open a Tendlio page.
If the bar goes back to the start #
If the bar drops back to the beginning, Tendlio has started the analysis over. That happens if you change a setting the analysis uses before it has finished, such as your store type, your Cost tracking answer or average margin, which orders count as a sale, your lead times, or seasonal detection. Updating Tendlio during an analysis, or turning Tendlio off and on again, has the same effect.
You don’t need to do anything, because Tendlio restarts the analysis by itself. To avoid the restart, change those settings before you start an analysis, or after it has finished.
If the bar says the analysis hasn’t moved #
When an analysis hasn’t saved any progress for half an hour, the bar on the next Tendlio page you open says The analysis hasn’t moved since … ago. Cancel it and run it again. That can happen when your host stops the analysis at its memory or time limit each time it tries to continue, or when no Tendlio page was open and WordPress didn’t run its scheduled tasks.
- Under the bar, click Cancel and start again, then OK. This stops the analysis, and the new one starts in step 2.
- Click Re-scan store, at the top of the Dashboard or the To do page.
- Keep a Tendlio page open until the analysis finishes.
After you cancel, pages that show numbers from the analysis say Some numbers on this page may be out of date until a new analysis finishes, because the canceled one may already have updated some of them. The words run it again in that line start a new analysis too.
If your first analysis is the one that stopped, canceling takes you to the Dashboard. Start again with Re-scan store at the top of it.
You can also click Re-scan store without canceling. The analysis then continues from the last point where it saved its progress, instead of starting over. If it stops again without getting any further, Re-scan store continues it up to three times. On the fourth click, Tendlio marks that analysis as failed and starts a new one from the beginning.
If an analysis keeps stopping at the same point, your host may be stopping the same batch every time at its memory or time limit. After Tendlio replaces that analysis, Help → System status lists it under Store analysis as failed, with stalled: no progress across 3 resume attempts. Ask your host to raise the two limits shown under Environment on the same page.
If the analysis fails #
When an analysis stops with an error, the To do page says The last analysis failed. and what went wrong. Click Re-scan store to run it again. If your first analysis fails while the setup screen is still showing it, that screen says The first analysis did not finish instead, and the error is under Store analysis on Help → System status.
If the error says WooCommerce order-items lookup table is missing, rebuild that table before you run the analysis again. WooCommerce keeps a table of which products each order contained, and on your store Tendlio reads each product’s sales from it.
- Open WooCommerce → Status → Tools, and click Verify database next to Verify base database tables.
- Open Analytics → Settings and find Import historical data. If it shows Re-import Data, click that first. Then untick Skip previously imported customers and orders and click Start, so WooCommerce fills the table from your orders.
- When the import has finished, run the analysis again.
See what System status says #
Open Help → System status:
- Under Store analysis, your last three analyses each show their status, how far they got, when they started and finished, and last tick: when each last saved its progress, in UTC. A running one marked (not moving) is the one that’s stuck, and a failed one shows its error.
- Under Scheduled tasks, OVERDUE: WP-Cron may not be running on a row means that task is late and Tendlio hasn’t seen WordPress run any of its scheduled tasks in the last day. Until that’s fixed, an analysis moves only while a Tendlio page is open, and your host can tell you why the tasks aren’t running.
- Under Environment, Memory limit and Max execution are the two limits your host sets.
- Recent errors, near the bottom, lists the errors Tendlio recorded, newest first.
If an analysis keeps stopping, open Help → Contact support. Tendlio attaches the System status details to your message, so you don’t need to copy them.
If Re-scan store doesn’t start an analysis #
- The button is grayed out. An analysis is already running. The button works again when the analysis finishes, or when it hasn’t moved for half an hour.
- Daily scan limit reached (30 per day). Tendlio starts at most 30 analyses a day, the weekly one included. The count starts again at midnight UTC.
- Could not start the analysis just now. Tendlio couldn’t record the new analysis, and nothing changed. Try again in a moment.
Why the analysis works this way #
Why it works in batches #
Your host limits how much memory and time one request on your site may use. Reading a whole store in one go could run past those limits, and the host would stop the analysis with nothing saved. Because Tendlio saves its progress after every batch, a stop costs at most the batch that was running, and the analysis carries on from the last saved point.
Why it starts over after a settings change #
Tendlio measures all your products with the same settings. If an analysis carried on after you changed, for example, which orders count as a sale, the products it had already measured would count sales one way and the rest another, and your totals wouldn’t add up.
Additional resources #
- How and when to re-scan your store: when a new analysis is worth running, and how to start one.
- How to set up Tendlio and run your first analysis: what you see during the first analysis.
- How to use the System status page
Frequently asked questions #
How long does a Tendlio analysis take? #
It depends on how many orders and products your store has, and on how fast your host is. Keep a Tendlio page open while it runs: with every Tendlio page closed, the analysis moves only when WordPress runs its scheduled tasks.
Do I lose anything if I cancel an analysis? #
An analysis doesn't change your orders, prices or stock, so they stay as they are. A canceled analysis may already have updated some of your numbers, so run a new one, and the pages that show those numbers say so until it finishes.
Why does the bar go back to 0%? #
Tendlio started the analysis over, because a setting it uses changed while it ran, or because you updated Tendlio or turned it off and on again. Tendlio restarts it by itself, so you don't need to do anything.