Hey there
I set up Grav on a php repl on Replit. everything works fine in the development environment but as soon as I deploy it (to a permanent web app) I get this error. I double checked all paths, did some error logging and so on but haven’t come up with a solution for now. Any ideas?
Fatal error: Uncaught BadMethodCallException: Failed to open dir: plugins:// does not exist. in /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/vendor/rockettheme/toolbox/ResourceLocator/src/UniformResourceIterator.php:109 Stack trace: #0 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/vendor/rockettheme/toolbox/ResourceLocator/src/UniformResourceIterator.php(49): RocketTheme\Toolbox\ResourceLocator\UniformResourceIterator->rewind() #1 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/vendor/rockettheme/toolbox/ResourceLocator/src/UniformResourceLocator.php(54): RocketTheme\Toolbox\ResourceLocator\UniformResourceIterator->__construct('plugins://', NULL, Object(RocketTheme\Toolbox\ResourceLocator\UniformResourceLocator)) #2 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/system/src/Grav/Common/Plugins.php(47): RocketTheme\Toolbox\ResourceLocator\UniformResourceLocator->getIterator('plugins://') #3 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/system/src/Grav/Common/Grav.php(738): Grav\Common\Plugins->__construct(Object(Grav\Common\Grav)) #4 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/vendor/pimple/pimple/src/Pimple/Container.php(122): Grav\Common\Grav->Grav\Common\{closure}(Object(Grav\Common\Grav)) #5 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/system/src/Grav/Common/Processors/InitializeProcessor.php(178): Pimple\Container->offsetGet('plugins') #6 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/system/src/Grav/Common/Processors/InitializeProcessor.php(73): Grav\Common\Processors\InitializeProcessor->initializeConfig() #7 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(50): Grav\Common\Processors\InitializeProcessor->process(Object(Nyholm\Psr7\ServerRequest), Object(Grav\Framework\RequestHandler\RequestHandler)) #8 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(62): Grav\Framework\RequestHandler\RequestHandler->handle(Object(Nyholm\Psr7\ServerRequest)) #9 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/system/src/Grav/Framework/RequestHandler/Middlewares/MultipartRequestSupport.php(40): Grav\Framework\RequestHandler\RequestHandler->handle(Object(Nyholm\Psr7\ServerRequest)) #10 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(50): Grav\Framework\RequestHandler\Middlewares\MultipartRequestSupport->process(Object(Nyholm\Psr7\ServerRequest), Object(Grav\Framework\RequestHandler\RequestHandler)) #11 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(62): Grav\Framework\RequestHandler\RequestHandler->handle(Object(Nyholm\Psr7\ServerRequest)) #12 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/system/src/Grav/Common/Grav.php(312): Grav\Framework\RequestHandler\RequestHandler->handle(Object(Nyholm\Psr7\ServerRequest)) #13 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/index.php(47): Grav\Common\Grav->process() #14 /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/system/router.php(67): require('/home/runner/26...') #15 {main} thrown in /home/runner/26f9bb1b-b697-486e-98e9-201ba164172e/grav/vendor/rockettheme/toolbox/ResourceLocator/src/UniformResourceIterator.php on line 109