Page MenuHomePhabricator

Notice: Undefined variable: clusterNr in /mnt/nfs/labstore-secondary-tools-project/guc/labs-tools-guc/src/App.php on line 70
Closed, ResolvedPublic

Description

I wanted to see global contributions of my bot on link: https://tools.wmflabs.org/guc/?user=ZoranBot

Then I got this:

globalcontribs.png (800×1 px, 166 KB)

Related Objects

Event Timeline

This was probably caused by commit 4436724a57176e4111550f186e297006ec924320 several hours ago.
Replacing

if (!$clusterNr) {

with

if (!$cluster) {

in line 70 of src/App.php might fix the issue, but I can't test this.

Change 380919 had a related patch set uploaded (by Zoranzoki21; owner: Zoranzoki21):
[labs/tools/guc@master] Fix problem with listing of contributions

https://gerrit.wikimedia.org/r/380919

This was probably caused by commit 4436724a57176e4111550f186e297006ec924320 several hours ago.
Replacing

if (!$clusterNr) {

with

if (!$cluster) {

in line 70 of src/App.php might fix the issue, but I can't test this.

Thank you @CorrectHorseBatteryStaple I created a patch on gerrit and maybe it will resolve a problem.

Kizule triaged this task as High priority.Sep 27 2017, 1:18 PM

Change 381020 had a related patch set uploaded (by Krinkle; owner: CorrectHorseBatteryStapleWiki):
[labs/tools/guc@master] Fix undefined variable clusterNr

https://gerrit.wikimedia.org/r/381020

Change 381020 merged by jenkins-bot:
[labs/tools/guc@master] Fix undefined variable clusterNr

https://gerrit.wikimedia.org/r/381020

Krinkle claimed this task.
Krinkle moved this task from Inbox to Confirmed Problem on the Tool-Global-user-contributions board.
Krinkle subscribed.

Thanks!

Change 380919 abandoned by Zoranzoki21:
Fix problem with listing of contributions

Reason:
Fixed with 381020

https://gerrit.wikimedia.org/r/380919

All is ok now.. I abandoned my patch, because is resolved.