From 6c83ef4336884a15da996ba8dcf9ec4ee6439424 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 2 Sep 2021 17:31:41 +1000 Subject: [PATCH] dev/core#2812 Fix issue where having a processor configured with a search output casues WSOD not allowing for access to upgrade screen --- CRM/Core/ClassLoader.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Core/ClassLoader.php b/CRM/Core/ClassLoader.php index 688470b9d9..a8479481d4 100644 --- a/CRM/Core/ClassLoader.php +++ b/CRM/Core/ClassLoader.php @@ -133,6 +133,8 @@ class CRM_Core_ClassLoader { '.', $civicrm_base_path, $packages_path, + // dev/core#2812 Ensure that the database upgrade script can run if dataprocessor extension is enabled. It relies on the legacy custom searches which have been moved into this extension + implode(DIRECTORY_SEPARATOR, [$civicrm_base_path, 'ext', 'legacycustomsearches']), ]; $include_paths = implode(PATH_SEPARATOR, $include_paths); set_include_path($include_paths . PATH_SEPARATOR . get_include_path()); -- 2.25.1