[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
       
    Wed Dec  9 17:31:54 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:  Awaiting Review
Component:  Build/Test Tools  |     Version:  5.5
 Severity:  critical          |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------
Comment (by tharsheblows):
 @TimothyBlynJacobs @SergeyBiryukov Updating the theme registration for
 `post-formats` works for me -- attached is a diff that takes out the
 closure from the post formats theme registration and puts it in a
 function. I'm not sure of the naming or things like that but this is fixes
 it for me on the Auth0 plugin @auth0josh mentioned at least.
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50482#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list