Hi, all.

I've set my custom view 'user_online' with 'block' display up and saw HTML error 500 has been returned from 'authcache.php'.

PHP-FPM log shows me such trace:

PHP Fatal error:  Call to a member function handle() on a non-object in sites/all/modules/contrib/authcache/modules/authcache_p13n/includes/frontcontroller.inc on line 82
PHP Stack trace:
PHP   1. {main}() /var/www/vhosts/observer/ar25.org/observer/www/authcache.php:0
PHP   2. authcache_p13n_frontcontroller_handle_request($req = array ('q' => '/authcache.php', 'a' => '', 'r' => 'frag/views/user_online/block', 'v' => 'e201rh')) authcache.php:30

Debug show me that SQL trying to get 'route_handlers' collection but DB table contains 'route_generators' one.
SELECT kv.name AS name, kv.value AS value FROM no_authcache_p13n_key_value kv WHERE (collection = 'route_handlers') AND (name IN ('frag/views/user_online/block'))

So... which API behaviour and data MUST be in the table to this could work correctly?

Comments

vadym.kononenko created an issue. See original summary.

vadym.kononenko’s picture

Title: authcache_views SQL trying to get 'route_handlers' collection » Call to a member function handle() on a non-object in authcache/modules/authcache_p13n/includes/frontcontroller.inc on line 82
znerol’s picture

You should have both, route_generators as well as route_handlers. In order to rebuild the routes, visit Administration » Configuration » System » Authcache » Personalization » Frontcontroller, then scroll down and click the Rebuild routes button.

znerol’s picture

Status: Active » Postponed (maintainer needs more info)
znerol’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)