Kirby 3.6 compatibility
MaluNoPeleke opened this issue · 4 comments
When using this plugin with Kirby 3.6 it can come to a problem with the cache:
Whoops\Exception\ErrorException thrown with message "unlink(/var/www/virtual/site/cache/dev.peleke.de/bvdputte/kirbyAutopublish/poormanscron/lastrun.cache): No such file or directory"
Stacktrace:
#14 Whoops\Exception\ErrorException in /var/www/virtual/kirby/src/Filesystem/F.php:711
#13 unlink in /var/www/virtual/kirby/src/Filesystem/F.php:711
#12 Kirby\Filesystem\F:remove in /var/www/virtual/kirby/src/Cache/FileCache.php:182
#11 Kirby\Cache\FileCache:remove in /var/www/virtual/kirby/src/Cache/Cache.php:104
#10 Kirby\Cache\Cache:get in /var/www/virtual/site/plugins/kirby-autopublish/src/Autopublish.php:38
#9 bvdputte\kirbyAutopublish\Autopublish:poorManCronRun in /var/www/virtual/site/plugins/kirby-autopublish/index.php:35
#8 Kirby\Cms\App:{closure} in [internal]:0
#7 Closure:call in /var/www/virtual/kirby/src/Toolkit/Controller.php:50
#6 Kirby\Toolkit\Controller:call in /var/www/virtual/kirby/src/Cms/Event.php:169
#5 Kirby\Cms\Event:call in /var/www/virtual/kirby/src/Cms/App.php:1501
#4 Kirby\Cms\App:trigger in /var/www/virtual/kirby/src/Cms/App.php:334
#3 Kirby\Cms\App:Kirby\Cms{closure} in /var/www/virtual/kirby/src/Http/Router.php:100
#2 Kirby\Http\Router:call in /var/www/virtual/kirby/src/Cms/App.php:341
#1 Kirby\Cms\App:call in /var/www/virtual/kirby/src/Cms/App.php:1077
#0 Kirby\Cms\App:render in /var/www/virtual/index.php:5
What're the steps to reproduce? I've tested and works as expected.
I had it installed for quite some time and got that caching related error today for the first time. I thought it is related to Kirby 3.6
Just tested this in the starterkit with 3.6rc2, and can't reproduce.
After installing 2.0 I cannot reproduce it either.