I kept seeing errors like this at the bottom of the screen when using xhprof:
Fatal error: Cannot redeclare xhprof_error() (previously declared in /var/www/html/web/xhprof/xhprof_lib/utils/xhprof_lib.php:22) in /var/www/xhprof/xhprof_lib/utils/xhprof_lib.php on line 22
I didn't study why or where it occurs (PHP 7.4) but here's a patch to make sure it doesn't get double-defined.
I kept seeing errors like this at the bottom of the screen when using xhprof:
I didn't study why or where it occurs (PHP 7.4) but here's a patch to make sure it doesn't get double-defined.