Solved Unable to rebuild daily stats from CLI

This topic has been solved
J

Jake B.

Guest
Currently if the daily stats need to be rebuilt for some reason (such as importing from another software) it cannot be done through the CLI, and you are required to sit with your browser open while it runs which can take quite some time on sites that have been around for more than a few years and have a lot of content. The following CLI command definition resolves this issue:

PHP:

Code:
<?php

namespace XF\Cli\Command\Rebuild;

use Symfony\Component\Console\Input\InputOption;

class RebuildStats...

Read more

Continue reading...