Page MenuHomePhabricator

Custom Phab Reports: "Unhandled Exception ("RuntimeException") count(): Parameter must be an array or an object that implements Countable"
Closed, DuplicatePublicBUG REPORT

Description

  1. Select Reports menu item in project overview page sidebar, to go to https://phabricator.wikimedia.org/project/reports/2/ or https://phabricator.wikimedia.org/project/reports/2123/ or https://phabricator.wikimedia.org/project/reports/2198/
  2. Get Unhandled Exception ("RuntimeException") - count(): Parameter must be an array or an object that implements Countable

Assuming this has to do with some WMF customizations in this area, because https://phabricator.wikimedia.org/rPHAB26c7463ede27d50c74536e1df2182d6db5591dc7

Event Timeline

Aklapper changed the subtype of this task from "Task" to "Bug Report".Apr 25 2023, 10:25 AM

I'm now pretty sure this is a dup of T336105. We'll see once merged and deployed.

Aklapper triaged this task as Low priority.

Stacktrace confirms that this is a dup

PhutilErrorHandler::handleError called at src/applications/project/controller/PhabricatorProjectReportsController.php:242