XF 2.0 Help with routing parameter

pm4

Member
Hi, I have this routing configuration

1.webp

but when I visit the page I get this:

2.webp

Can someone help?
Thanks!
 
First issue is that you're extending a XF controller yet referencing the extended class there. Enter the normal class name, XF\Pub\Controller\Register. Since you're extending that class, your methods will show up in there anyway.

Worth asking, do you have an actionInvited() function in the controller? Have you extended the class (XF one) properly?

Another issue is in naming conventions. The action prefix should not be actionInvited. Just call it invited or something.
 
Top Bottom