FoxSecrets
Active member
In my add-on I implemented a link which calls an action then opens view page.
The problem I'm facing is "The requested page could not be found" (404 not found), but only in production. In development mode it works perfectly the same code.
I've checked the production environment and the route and template exists, permission are ok, only one link is not working in production (all the other work), I see no reason for that behavior, it's weird. There's no log errors, don't even enter into the action.
Does anyone can guess what could be the reason of that message?
The problem I'm facing is "The requested page could not be found" (404 not found), but only in production. In development mode it works perfectly the same code.
I've checked the production environment and the route and template exists, permission are ok, only one link is not working in production (all the other work), I see no reason for that behavior, it's weird. There's no log errors, don't even enter into the action.
Does anyone can guess what could be the reason of that message?
Code:
<a href="{{ link('user-list', {}, {'profileId': $profile.profile_id, 'profileName': $profile.username}) }}" data-xf-click="overlay" id="user-list">{{ phrase('user_list') }}</a>
Last edited: