bvdputte / kirby-autopublish

Kirby plugin to schedule the automatic publishing of pages on a certain date+time. Built to work with enabled cache.
MIT License
33 stars 6 forks source link

lastrun.cache exception #10

Open MaluNoPeleke opened 2 years ago

MaluNoPeleke commented 2 years ago

After reloading a page I had this error:

Whoops\Exception\ErrorException thrown with message "unlink(/var/www/virtual/user/dev.domain.de/site/cache/dev.domain.de/bvdputte/kirbyAutopublish/poormanscron/lastrun.cache): No such file or directory"

Stacktrace:

14 Whoops\Exception\ErrorException in /var/www/virtual/user/dev.domain.de/kirby/src/Filesystem/F.php:711

13 unlink in /var/www/virtual/user/dev.domain.de/kirby/src/Filesystem/F.php:711

12 Kirby\Filesystem\F:remove in /var/www/virtual/user/dev.domain.de/kirby/src/Cache/FileCache.php:182

11 Kirby\Cache\FileCache:remove in /var/www/virtual/user/dev.domain.de/kirby/src/Cache/Cache.php:104

10 Kirby\Cache\Cache:get in /var/www/virtual/user/dev.domain.de/site/plugins/kirby-autopublish/src/Autopublish.php:54

9 bvdputte\kirbyAutopublish\Autopublish:poorManCronRun in /var/www/virtual/user/dev.domain.de/site/plugins/kirby-autopublish/index.php:72

8 Kirby\Cms\App:{closure} in [internal]:0

7 Closure:call in /var/www/virtual/user/dev.domain.de/kirby/src/Toolkit/Controller.php:50

6 Kirby\Toolkit\Controller:call in /var/www/virtual/user/dev.domain.de/kirby/src/Cms/Event.php:169

5 Kirby\Cms\Event:call in /var/www/virtual/user/dev.domain.de/kirby/src/Cms/App.php:1501

4 Kirby\Cms\App:trigger in /var/www/virtual/user/dev.domain.de/kirby/src/Cms/App.php:334

3 Kirby\Cms\App:Kirby\Cms{closure} in /var/www/virtual/user/dev.domain.de/kirby/src/Http/Router.php:100

2 Kirby\Http\Router:call in /var/www/virtual/user/dev.domain.de/kirby/src/Cms/App.php:341

1 Kirby\Cms\App:call in /var/www/virtual/user/dev.domain.de/kirby/src/Cms/App.php:1077

0 Kirby\Cms\App:render in /var/www/virtual/user/dev.domain.de/index.php:5