Route [aimeos_shop_account] not defined.

Help for integrating the Laravel package
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!
newbie
Posts: 1
Joined: 10 Mar 2023, 19:40

Route [aimeos_shop_account] not defined.

Post by newbie » 10 Mar 2023, 19:49

Just installed a blank version of 2022.10 (as per github instructions) over a brand new laravel/sail container (PHP 8.2.3 Laravel10.3.3).
It initially worked fine, both routes /shop and /admin.
Then I started getting "Route [aimeos_shop_account] not defined."

After some digging, I found that when I visit the shop page from the same browser I'm logged as admin, the Profile link airoute( 'aimeos_shop_account' ) throws an exception.
If I visit the same page in a logged-out/private/incognito browser, the shop pages load fine.

Any suggestion how to fix this issue?

Thanks

Code: Select all

root@c3717f9e0538:/var/www/html# ./artisan route:list

  GET|HEAD  / ............................................................................................................................................................................................. 
  POST      _ignition/execute-solution ...................................................................................... ignition.executeSolution › Spatie\LaravelIgnition › ExecuteSolutionController
  GET|HEAD  _ignition/health-check .................................................................................................. ignition.healthCheck › Spatie\LaravelIgnition › HealthCheckController
  POST      _ignition/update-config ............................................................................................... ignition.updateConfig › Spatie\LaravelIgnition › UpdateConfigController
  GET|HEAD  admin ........................................................................................................................... aimeos_shop_admin › Aimeos\Shop › AdminController@indexAction
  POST      admin/{site}/graphql ................................................................................................... aimeos_shop_graphql_post › Aimeos\Shop › GraphqlController@indexAction
  POST      admin/{site}/jqadm/batch/{resource} ....................................................................................... aimeos_shop_jqadm_batch › Aimeos\Shop › JqadmController@batchAction
  GET|HEAD  admin/{site}/jqadm/copy/{resource}/{id} ..................................................................................... aimeos_shop_jqadm_copy › Aimeos\Shop › JqadmController@copyAction
  GET|HEAD  admin/{site}/jqadm/create/{resource} .................................................................................... aimeos_shop_jqadm_create › Aimeos\Shop › JqadmController@createAction
  POST      admin/{site}/jqadm/delete/{resource}/{id?} .............................................................................. aimeos_shop_jqadm_delete › Aimeos\Shop › JqadmController@deleteAction
  GET|POST|HEAD admin/{site}/jqadm/export/{resource} ................................................................................ aimeos_shop_jqadm_export › Aimeos\Shop › JqadmController@exportAction
  GET|HEAD  admin/{site}/jqadm/file/{type} .............................................................................................. aimeos_shop_jqadm_file › Aimeos\Shop › JqadmController@fileAction
  GET|HEAD  admin/{site}/jqadm/get/{resource}/{id} ........................................................................................ aimeos_shop_jqadm_get › Aimeos\Shop › JqadmController@getAction
  POST      admin/{site}/jqadm/save/{resource} .......................................................................................... aimeos_shop_jqadm_save › Aimeos\Shop › JqadmController@saveAction
  GET|POST|HEAD admin/{site}/jqadm/search/{resource} ................................................................................ aimeos_shop_jqadm_search › Aimeos\Shop › JqadmController@searchAction
  OPTIONS   admin/{site}/jsonadm/{resource?} .................................................................................. aimeos_shop_jsonadm_options › Aimeos\Shop › JsonadmController@optionsAction
  DELETE    admin/{site}/jsonadm/{resource}/{id?} ............................................................................... aimeos_shop_jsonadm_delete › Aimeos\Shop › JsonadmController@deleteAction
  GET|HEAD  admin/{site}/jsonadm/{resource}/{id?} ..................................................................................... aimeos_shop_jsonadm_get › Aimeos\Shop › JsonadmController@getAction
  PATCH     admin/{site}/jsonadm/{resource}/{id?} ................................................................................. aimeos_shop_jsonadm_patch › Aimeos\Shop › JsonadmController@patchAction
  POST      admin/{site}/jsonadm/{resource}/{id?} ................................................................................... aimeos_shop_jsonadm_post › Aimeos\Shop › JsonadmController@postAction
  PUT       admin/{site}/jsonadm/{resource}/{id?} ..................................................................................... aimeos_shop_jsonadm_put › Aimeos\Shop › JsonadmController@putAction
  GET|HEAD  api/user ...................................................................................................................................................................................... 
  GET|HEAD  confirm-password ................................................................................................................... password.confirm › Auth\ConfirmablePasswordController@show
  POST      confirm-password ..................................................................................................................................... Auth\ConfirmablePasswordController@store
  GET|HEAD  dashboard ........................................................................................................................................................................... dashboard
  POST      email/verification-notification ........................................................................................ verification.send › Auth\EmailVerificationNotificationController@store
  GET|HEAD  forgot-password .................................................................................................................... password.request › Auth\PasswordResetLinkController@create
  POST      forgot-password ....................................................................................................................... password.email › Auth\PasswordResetLinkController@store
  GET|OPTIONS|HEAD jsonapi/{resource?} ........................................................................................ aimeos_shop_jsonapi_options › Aimeos\Shop › JsonapiController@optionsAction
  DELETE    jsonapi/{resource} .................................................................................................. aimeos_shop_jsonapi_delete › Aimeos\Shop › JsonapiController@deleteAction
  GET|HEAD  jsonapi/{resource} ........................................................................................................ aimeos_shop_jsonapi_get › Aimeos\Shop › JsonapiController@getAction
  PATCH     jsonapi/{resource} .................................................................................................... aimeos_shop_jsonapi_patch › Aimeos\Shop › JsonapiController@patchAction
  POST      jsonapi/{resource} ...................................................................................................... aimeos_shop_jsonapi_post › Aimeos\Shop › JsonapiController@postAction
  PUT       jsonapi/{resource} ........................................................................................................ aimeos_shop_jsonapi_put › Aimeos\Shop › JsonapiController@putAction
  GET|HEAD  login ...................................................................................................................................... login › Auth\AuthenticatedSessionController@create
  POST      login ............................................................................................................................................... Auth\AuthenticatedSessionController@store
  POST      logout ................................................................................................................................... logout › Auth\AuthenticatedSessionController@destroy
  GET|POST|HEAD p/{path?} .......................................................................................................................... aimeos_page › Aimeos\Shop › PageController@indexAction
  PUT       password ..................................................................................................................................... password.update › Auth\PasswordController@update
  GET|HEAD  profile ................................................................................................................................................. profile.edit › ProfileController@edit
  PATCH     profile ............................................................................................................................................. profile.update › ProfileController@update
  DELETE    profile ........................................................................................................................................... profile.destroy › ProfileController@destroy
  GET|POST|HEAD profile/download/{dl_id} .................................................................................... aimeos_shop_account_download › Aimeos\Shop › AccountController@downloadAction
  GET|POST|HEAD profile/favorite/{fav_action?}/{fav_id?}/{d_name?}/{d_pos?} .................................................... aimeos_shop_account_favorite › Aimeos\Shop › AccountController@indexAction
  GET|POST|HEAD profile/watch/{wat_action?}/{wat_id?}/{d_name?}/{d_pos?} .......................................................... aimeos_shop_account_watch › Aimeos\Shop › AccountController@indexAction
  GET|HEAD  register ...................................................................................................................................... register › Auth\RegisteredUserController@create
  POST      register .................................................................................................................................................. Auth\RegisteredUserController@store
  POST      reset-password .............................................................................................................................. password.store › Auth\NewPasswordController@store
  GET|HEAD  reset-password/{token} ..................................................................................................................... password.reset › Auth\NewPasswordController@create
  GET|HEAD  sanctum/csrf-cookie ......................................................................................................... sanctum.csrf-cookie › Laravel\Sanctum › CsrfCookieController@show
  GET|POST|HEAD shop ........................................................................................................................ aimeos_shop_list › Aimeos\Shop › CatalogController@listAction
  GET|POST|HEAD shop/basket ............................................................................................................... aimeos_shop_basket › Aimeos\Shop › BasketController@indexAction
  GET|POST|HEAD shop/checkout/{c_step?} ............................................................................................... aimeos_shop_checkout › Aimeos\Shop › CheckoutController@indexAction
  GET|POST|HEAD shop/confirm/{code?} ................................................................................................. aimeos_shop_confirm › Aimeos\Shop › CheckoutController@confirmAction
  GET|POST|HEAD shop/count ................................................................................................................ aimeos_shop_count › Aimeos\Shop › CatalogController@countAction
  GET|POST|HEAD shop/pin ....................................................................................................... aimeos_shop_session_pinned › Aimeos\Shop › CatalogController@sessionAction
  GET|POST|HEAD shop/stock ................................................................................................................ aimeos_shop_stock › Aimeos\Shop › CatalogController@stockAction
  GET|POST|HEAD shop/suggest .......................................................................................................... aimeos_shop_suggest › Aimeos\Shop › CatalogController@suggestAction
  GET|POST|HEAD shop/{d_name}/{d_pos?}/{d_prodid?} ...................................................................................... aimeos_shop_detail › Aimeos\Shop › CatalogController@detailAction
  GET|POST|HEAD shop/{f_name}~{f_catid}/{l_page?} ........................................................................................... aimeos_shop_tree › Aimeos\Shop › CatalogController@treeAction
  GET|POST|HEAD supplier/{s_name}/{f_supid} .......................................................................................... aimeos_shop_supplier › Aimeos\Shop › SupplierController@detailAction
  GET|POST|HEAD update ................................................................................................................. aimeos_shop_update › Aimeos\Shop › CheckoutController@updateAction
  GET|HEAD  verify-email ..................................................................................................................... verification.notice › Auth\EmailVerificationPromptController
  GET|HEAD  verify-email/{id}/{hash} ..................................................................................................................... verification.verify › Auth\VerifyEmailController

                                                                                                                                                                                        Showing [64] routes
Attachments
Screenshot from 2023-03-10 12-27-02.png
Screenshot from 2023-03-10 12-27-02.png (69.07 KiB) Viewed 811 times

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Route [aimeos_shop_account] not defined.

Post by aimeos » 11 Mar 2023, 13:12

Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply