I recently encountered a Fatal error: Uncaught Exception: Serialization of 'Closure' is not allowed in C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\includes\bwtrace.php:497
The logic to detect closures ( #23 ) only works when the Closure is in the top level array.
I need to wrap a try around the attempt to serialize the array/object.
Also noted that it might be a good idea to simplify logic for empty arrays... which can get unnecessarily marked as *RECURSION*
I recently encountered a Fatal error: Uncaught Exception: Serialization of 'Closure' is not allowed in C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\includes\bwtrace.php:497
The logic to detect closures ( #23 ) only works when the Closure is in the top level array. I need to wrap a try around the attempt to serialize the array/object.
Also noted that it might be a good idea to simplify logic for empty arrays... which can get unnecessarily marked as
*RECURSION*