Page MenuHomePhabricator

500 error for Simple Edit Counter endpoint
Closed, ResolvedPublic

Description

/var/www/var/cache/prod/ContainerBdb0w8v/appProdProjectContainer.php: 750 - Compile Error: require(): Failed opening required '/var/www/var/cache/prod/ContainerBdb0w8v/getSimpleEditCounterControllerService.php' (include_path='.:/usr/share/php:/usr/share/pear')

URL: http://xtools.wmflabs.org/api/user/simple_editcount/en.wikipedia/Jimbo_Wales

I was attempting to get my own edit count and kept getting a 500 error. I tried clicking on the link in the documentation and that too resulted in a 500 error.

XTools version: 3.4.5-

Event Timeline

MusikAnimal claimed this task.
MusikAnimal moved this task from Backlog to Complete on the XTools board.
MusikAnimal subscribed.

Fixed by manually deleting the cache. Same issue as T188699 and T204155. I don't really know why it's happening, but as I understand it in PHP 7 and Symfony 4 classes are no longer cached like this. We are working on such a upgrade right now (T188699), so hopefully soon we won't see these errors anymore.