Closed chrisbarnett1 closed 4 years ago
I did still see some "__PHP_Incomplete_Class" messages while SRDB was working through wp_options, but this change fixed SRDB for me. Thanks @chrisbarnett1 and I hope that this PR gets accepted!
Hello, thanks for the pull request, this code has been merged into the new version v4!
As of PHP 7.2
is_object( $data )
will returntrue
rather thanfalse
if the object is a__PHP_Incomplete_Class
.Therefore I've added an extra check for __PHP_Incomplete_Class where is_object is used.