We use a job runner, triggered by cron and not the usual one where the visitor object is available.
Is it possible to adapt your cron jobs to not require a visitor/user when they run? It would prevent such errors, we get sometimes when jobs are running:
Thanks!
Is it possible to adapt your cron jobs to not require a visitor/user when they run? It would prevent such errors, we get sometimes when jobs are running:
Code:
In XF.php line 473:
Argument 1 passed to XF::asVisitor() must be an instance of XF\Entity\User, null given, called in /src/addons/DBTech/eCommerce/Repository/License.php on line 408
Thanks!