Shlink.ERROR - Laminas\ServiceManager\Exception\ServiceNotCreatedException: Service dependencies config must exist and be an array in C:\Apache24\htdocs\shlink\vendor\laminas\laminas-servicemanager\src\AbstractFactory\ConfigAbstractFactory.php:64 #1396
Unanswered
priyakunal
asked this question in
Help wanted
Replies: 1 comment 7 replies
-
Can you provide all the steps you provided to set-up the project? Does any other route of the project work normally? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I get this error when trying to access a new route(created by me) in Core\config\routes.config.php.
Basically I am trying to access a file uploaded to database when clicked on the Short URL.
A Short URL and Long URL is generated for a file uploaded by the User.
Short URL: http://shlink.api/Gsnyb
Long URL: http://shlink.api/files/TestFile.txt
I am redirected to the Long URL on Short URL click. For the Long URL route handling, I have added the route as below:
In the FileAction class, I need to write code to fetch the file and load it in browser.
The FileAction class is not working and I get the error as below:
Please help me resolve this error.
Beta Was this translation helpful? Give feedback.
All reactions