(1/1) InvalidArgumentException Route [] not defined.
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
(1/1) InvalidArgumentException Route [] not defined.
HI
I am getting this error:
when I tried to do composer update :
here is my composer.json
I am getting this error:
Code: Select all
(1/1) InvalidArgumentException
Route [] not defined.
here is my composer.json
Code: Select all
"require": {
"php": ">=5.6.4",
"aimeos/aimeos-laravel": "dev-master",
"aimeos/ai-payments": "dev-master"
Re: (1/1) InvalidArgumentException Route [] not defined.
For which URL do you get that error?
I guess, in your templates there's the URL for the JSON REST API generated now but either the route definition or the configuration for the route is missing somewhere.
The routes are there: https://github.com/aimeos/aimeos-larave ... s.php#L108
Route configuration is here: https://github.com/aimeos/aimeos-larave ... t.php#L216
I guess, in your templates there's the URL for the JSON REST API generated now but either the route definition or the configuration for the route is missing somewhere.
The routes are there: https://github.com/aimeos/aimeos-larave ... s.php#L108
Route configuration is here: https://github.com/aimeos/aimeos-larave ... t.php#L216
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: (1/1) InvalidArgumentException Route [] not defined.
I am getting that error for all urls
Also I update my composer with "dev-master" and that is when the error occurs I wanted to fix the issue with the payment gateways
Any idea how to fix it ? Are you telling me to check the routes.php file ?
Also I update my composer with "dev-master" and that is when the error occurs I wanted to fix the issue with the payment gateways
Any idea how to fix it ? Are you telling me to check the routes.php file ?
Re: (1/1) InvalidArgumentException Route [] not defined.
If you don't need a particular feature from the dev-master branch, you should use the current "~2017.07" version instead. But that shouldn't cause the problem you are describing.
We've done a installation of 2017.04 and then upgraded to dev-master for testing. That worked without problems so it must be something what you've changed in your project.
Can you please make sure that your your ./config/shop.php and the templates in ./resources/views/vendor/aimeos/shop/ is up to date? You can overwrite your current files with:
Did you copied and changed some of the Aimeos templates? If yes, you should temporarily remove them and check if it works again.
We've done a installation of 2017.04 and then upgraded to dev-master for testing. That worked without problems so it must be something what you've changed in your project.
Can you please make sure that your your ./config/shop.php and the templates in ./resources/views/vendor/aimeos/shop/ is up to date? You can overwrite your current files with:
Code: Select all
php artisan vendor:publish --force
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star