I have the latest 4.x version of aMember. I just downloaded the API plugin and enabled it via the setup/configuration page. When I clicked save, it throws an error - and now all admin pages do. Please help me fix this error: Code: Script Error exception 'InvalidArgumentException' with message 'The service definition "router" does not exist.' in /home/cyclepro/public_html/whitelabel/members/amember/library/sf/sfServiceContainerBuilder.php:221 Stack trace: #0 /home/cyclepro/public_html/whitelabel/members/amember/library/Am/Di.php(481): sfServiceContainerBuilder->getServiceDefinition('router') #1 /home/cyclepro/public_html/whitelabel/members/amember/library/sf/sfServiceContainerBuilder.php(80): Am_Di->getServiceDefinition('router') #2 /home/cyclepro/public_html/whitelabel/members/amember/library/Am/Di.php(317): sfServiceContainerBuilder->getService('router') #3 /home/cyclepro/public_html/whitelabel/members/amember/library/sf/sfServiceContainer.php(276): Am_Di->getService('router') #4 /home/cyclepro/public_html/whitelabel/members/amember/application/api/Bootstrap.php(17): sfServiceContainer->__get('router') #5 /home/cyclepro/public_html/whitelabel/members/amember/library/Am/App.php(267): Bootstrap_Api->init() #6 /home/cyclepro/public_html/whitelabel/members/amember/library/Am/App.php(220): Am_Pluggable_Base->__construct(Object(Am_Di), Array) #7 /home/cyclepro/public_html/whitelabel/members/amember/library/Am/App.php(188): Am_Plugins->register('api', 'Bootstrap_Api') #8 /home/cyclepro/public_html/whitelabel/members/amember/library/Am/App.php(128): Am_Plugins->get('api') #9 /home/cyclepro/public_html/whitelabel/members/amember/library/Am/App.php(2014): Am_Plugins->getAllEnabled() #10 /home/cyclepro/public_html/whitelabel/members/amember/library/Am/App.php(1580): Am_App->initModules() #11 /home/cyclepro/public_html/whitelabel/members/amember/bootstrap.php(25): Am_App->bootstrap() #12 /home/cyclepro/public_html/whitelabel/members/amember/index.php(91): require_once('/home/cyclepro/...') #13 {main}:The service definition "router" does not exist.
Do you mind to upgrade your installation to 5.1.1? Unfortunately latest version of API module is not compatible with your version.
Hi I have downloaded the api module and using upgraded version of Amember i.e. 5.1.3 and facing this error when I tried to activate the Api plugin : Fatal error: Class 'Am_Mvc_Router_Route_Abstract' not found in /home/blackbox/public_html/members/application/api/Bootstrap.php on line 123 Please suggest
@verztech Do you mind to contact us in heldpesk? We will troubleshoot this issue with your installation. https://www.amember.com/support