FIX Allow deprecated warnings

This commit is contained in:
Steve Boyd 2021-12-15 15:09:25 +13:00
parent 9de2764faa
commit a621f77380

View File

@ -501,7 +501,7 @@ abstract class SearchIndex extends ViewableData
$errorHandler = function ($no, $str) {
throw new Exception('HTML Parse Error: ' . $str);
};
set_error_handler($errorHandler, E_ALL);
set_error_handler($errorHandler, E_ALL & ~(E_DEPRECATED | E_USER_DEPRECATED));
try {
foreach ($field['lookup_chain'] as $step) {