Page MenuHomePhabricator

"Undefined variable: default_phid" when open Workboard
Closed, InvalidPublic

Description

Hi,

I have 2 projects. The second one I can open the Workboard normally but when I open the first one's Workboard, it says:

Unhandled Exception ("RuntimeException") 
Undefined variable: default_phid

Then I created a milestone for that project. Then I went back to Wordboard, it show:

>>> UNRECOVERABLE FATAL ERROR <<<

Call to a member function getSequence() on a non-object

/home/jtool/public_html/phabricator/src/applications/project/engine/PhabricatorBoardLayoutEngine.php:369


┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻

I can create the Wordboard of the milestone normally.

Event Timeline

epriestley added a subscriber: epriestley.

Update to HEAD. This was fixed by D15232.

See Contributing Bug Reports:

make sure Phabricator is up to date

I updated 2 hours ago. And I have just updated.
The issue is still the same.

Version in case:
phabricator c2502f1bebbf65cf7ea64ca7e1849ffb402e0319 (Wed, Feb 10)
arcanist 57f6fb59d73994d90cd94143787424ce0fdbf73b (Mon, Jan 25)
phutil f43291e99d36045bc459e5133454c0d8fd8768ea (Fri, Jan 22)

I'm newbie. Sorry for any inconvenience.

If you updated two hours ago, you should be ahead of c2502f1, which is about 50 hours old. We've made about 30 changes between c2502f1 and HEAD, which you can see here:

https://secure.phabricator.com/diffusion/P/history/master/

These changes include 7bca452f, which fixes this issue (it was the very next commit after c2502f1).

Thank you Evan. I found the reason of the issue.
I'm using your batch file to upgrade and when I run it shows the error below.

error: Your local changes to the following files would be overwritten by merge: src/land/ArcanistGitLandEngine.php

The batch skipped it. So it didn't upgrade.