[wp-trac] [WordPress Trac] #50482: Uncaught Exception: Serialization of 'Closure' is not allowed when run PHPUnit in plugin development

WordPress Trac noreply at wordpress.org
Tue Aug 18 01:14:22 UTC 2020


#50482: Uncaught Exception: Serialization of 'Closure' is not allowed when run
PHPUnit in plugin development
------------------------------+-----------------------
 Reporter:  yshinoda          |       Owner:  (none)
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  5.5.1
Component:  Build/Test Tools  |     Version:  5.5
 Severity:  critical          |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+-----------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 5.5.1


Comment:

 > Last succeed in CI
 > 2020-06-17 17:17
 > https://travis-ci.org/github/yukihiko-
 shinoda/staticpress2019/builds/699221099
 >
 > First failed in CI
 > 2020-06-26 22:01
 > https://travis-ci.org/github/yukihiko-
 shinoda/staticpress2019/builds/702342495

 Looking at this again, apparently the issue was introduced somewhere
 between those dates:
 https://core.trac.wordpress.org/log/trunk?rev=48186&stop_rev=48067

 In that timeframe, there were several commits introducing a closure:
 [47943], [48069], [48171].

 Additionally, one more closure was added later in [48645].

 So one of these commits could be a potential culprit here.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50482#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list