When I clear the cache an error shows up:

The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">ReflectionException</em>: Class \Drupal\mpac\MpacAutocompleteController does not exist in <em class="placeholder">ReflectionMethod-&gt;__construct()</em> (line <em class="placeholder">123</em> of <em class="placeholder">core/lib/Drupal/Core/Entity/EntityResolverManager.php</em>). <pre class="backtrace">Drupal\Core\Entity\EntityResolverManager-&gt;setParametersFromReflection(Array, Object) (Line: 208)
Drupal\Core\Entity\EntityResolverManager-&gt;setRouteOptions(Object) (Line: 48)
Drupal\Core\EventSubscriber\EntityRouteAlterSubscriber-&gt;onRoutingRouteAlterSetType(Object, &#039;routing.route_alter&#039;, Object)
call_user_func(Array, Object, &#039;routing.route_alter&#039;, Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher-&gt;dispatch(&#039;routing.route_alter&#039;, Object) (Line: 184)
Drupal\Core\Routing\RouteBuilder-&gt;rebuild() (Line: 83)
Drupal\Core\ProxyClass\Routing\RouteBuilder-&gt;rebuild() (Line: 1157)
drupal_flush_all_caches() (Line: 86)
Drupal\admin_toolbar_tools\Controller\ToolbarController-&gt;flushAll()
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}() (Line: 582)
Drupal\Core\Render\Renderer-&gt;executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel-&gt;handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session-&gt;handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache-&gt;pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache-&gt;handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel-&gt;handle(Object, 1, 1) (Line: 664)
Drupal\Core\DrupalKernel-&gt;handle(Object) (Line: 19)

Comments

jschouwstra created an issue. See original summary.

stborchert’s picture

Well, MPAC is not working with Drupal > 8.1 (I guess, maybe even earlier versions). I didn't had the time yet to rewrite everything to make it work again.
On the other hand, moth features of MPAC are in core now, so I don't know if its worth it ... :/

astonvictor’s picture

The issue was fixed. Configured all paths to files/folders/services/etc.

astonvictor’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.