benjaminjonard / koillection

Koillection is a self-hosted service allowing users to manage any kind of collections.
https://github.com/koillection/koillection/wiki
MIT License
604 stars 27 forks source link

Issue after update 1.5.8 to 1.5.12 #1172

Closed houdini69 closed 3 months ago

houdini69 commented 3 months ago

Got Symfony Exception when connecting to my instance, Warning: Undefined array key "publicPrices" ErrorException: Warning: Undefined array key "publicPrices"

at src/Service/CachedValuesGetter.php:30 at App\Service\CachedValuesGetter->getForCollection() (src/Service/CachedValuesGetter.php:23) at App\Service\CachedValuesGetter->getCachedValues() (src/Controller/CollectionController.php:41) at App\Controller\CollectionController->index() (vendor/symfony/http-kernel/HttpKernel.php:183) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:76) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:182) at Symfony\Component\HttpKernel\Kernel->handle() (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:29) at require_once('/var/www/koillection/vendor/autoload_runtime.php') (public/index.php:5)

houdini69 commented 3 months ago

I commented out invoked lines and I finally can start Koillection...

benjaminjonard commented 3 months ago

Hello, could you try to refresh caches ? (In administration page there is a button for that)

houdini69 commented 3 months ago

Yes! That fixed my issue.