The program I’m trying to recover last ran this time last year. In that time, looks like there may have been some breaking changes?
The sprinkle was loading files from a folder by first executing this line, but now that line fails …
$allbasepaths = $this->ci->locator->findResources(‘assets://’, true, true);
Here is a partial stack dump. Anything obvious causing the “asset” reference to fail?
InvalidArgumentException thrown with message “Invalid resource assets://”
Stacktrace:
#27 InvalidArgumentException in /var/www/html/UserFrosting/app/vendor/userfrosting/uniformresourcelocator/src/ResourceLocator.php:616
#26 UserFrosting\UniformResourceLocator\ResourceLocator:find in /var/www/html/UserFrosting/app/vendor/userfrosting/uniformresourcelocator/src/ResourceLocator.php:558
#25 UserFrosting\UniformResourceLocator\ResourceLocator:findCached in /var/www/html/UserFrosting/app/vendor/userfrosting/uniformresourcelocator/src/ResourceLocator.php:339
#24 UserFrosting\UniformResourceLocator\ResourceLocator:getResources in /var/www/html/UserFrosting/app/vendor/userfrosting/uniformresourcelocator/src/ResourceLocator.php:526
#23 UserFrosting\UniformResourceLocator\ResourceLocator:findResources in /var/www/html/UserFrosting/app/sprinkles/uf-sprinkle-bfa-workitems/src/Database/Importers/BFLinearProcessDiagram.php:47
#22 UserFrosting\Sprinkle\UfSprinkleBfaWorkitems\Database\Importers\BFLinearProcessDiagram:getDataFolderPath in /var/www/html/UserFrosting/app/sprinkles/uf-sprinkle-bfa-workitems/src/Database/Importers/BFLinearProcessDiagram.php:37
#21
etc