Page MenuHomePhorge

Fix call to undefined method PhutilJSON::encodeAsObject()

Authored by aklapper on Aug 14 2023, 20:56.
Referenced Files
Unknown Object (File)
Thu, Sep 21, 11:27
Unknown Object (File)
Tue, Sep 12, 16:39
Unknown Object (File)
Fri, Sep 8, 04:44
Unknown Object (File)
Thu, Sep 7, 07:52
Unknown Object (File)
Sun, Sep 3, 23:36
Unknown Object (File)
Sun, Sep 3, 04:28
Unknown Object (File)
Sat, Sep 2, 05:02
Unknown Object (File)
Sun, Aug 27, 10:44



Replace call to undefined method PhutilJSON::encodeAsObject() with existing PhutilJSON::encodeFormatted()

EXCEPTION: (Error) Call to undefined method PhutilJSON::encodeAsObject() at [<phabricator>/src/applications/transactions/xaction/PhabricatorEditEngineDefaultTransaction.php:68]

Closes T15603

Test Plan

Diff Detail

rP Phorge
Lint Not Applicable
Tests Not Applicable

Event Timeline

Thanks for this. I need a double-check since I'm quite scared by the background of this root problem but fortunately this seems to have just one occurrence, the one you are fixing.

The origin seems this:

And this in particular:

Also let's verify XSS and this kind of stuff

Thanks for this change that looks absolutely reasonable.

Please wait a $random_amount_of_time (more than 1 second and less than 1 month) before landing this so we can attract more professssssssional opinions

This revision is now accepted and ready to land.Aug 15 2023, 07:30