diff --git a/module/VuFind/src/VuFind/Favorites/FavoritesService.php b/module/VuFind/src/VuFind/Favorites/FavoritesService.php
index 2217326a52a4a09df0740dd8e6d22c56cb9d9e36..5bd04ab8b55f1d4381cae602e97399523ffe2ca1 100644
--- a/module/VuFind/src/VuFind/Favorites/FavoritesService.php
+++ b/module/VuFind/src/VuFind/Favorites/FavoritesService.php
@@ -29,6 +29,7 @@ namespace VuFind\Favorites;
 
 use VuFind\Db\Table\Resource as ResourceTable;
 use VuFind\Db\Table\UserList as UserListTable;
+use VuFind\Exception\LoginRequired as LoginRequiredException;
 use VuFind\Record\Cache as RecordCache;
 use VuFind\RecordDriver\AbstractBase as RecordDriver;
 
diff --git a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
index 70407f92871baf3ca510d4375d2f1e844498261f..d47db5c3357a892d4d105906f67d6d00600a3b42 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
@@ -1956,7 +1956,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements
             $result = $stmt->execute(
                 [ $newPassword_hashed, $detail['patron']['id'] ]
             );
-        } catch (Exception $e) {
+        } catch (\Exception $e) {
             return [ 'success' => false, 'status' => $e->getMessage() ];
         }
         return [
diff --git a/module/VuFind/src/VuFind/ILS/Driver/Symphony.php b/module/VuFind/src/VuFind/ILS/Driver/Symphony.php
index 7bf5c7a4043a43f77b6131eccd69a7593739cf06..5f97e402572f5cd7c44167b16e1567877d46aeeb 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/Symphony.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/Symphony.php
@@ -148,11 +148,11 @@ class Symphony extends AbstractBase implements LoggerAwareInterface
         ];
 
         // Initialize cache manager.
-        if (isset($configArray['PolicyCache']['type'])
+        if (isset($this->config['PolicyCache']['type'])
             && $this->cacheManager
         ) {
             $this->policyCache = $this->cacheManager
-                ->getCache($configArray['PolicyCache']['type']);
+                ->getCache($this->config['PolicyCache']['type']);
         }
     }
 
diff --git a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
index a5de9cb63dc60f9ebe49a86053f5356c4e9a7aca..6fad1cd9682d1f228f7c7d563b555d77f729fb19 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
@@ -2378,7 +2378,7 @@ EOT;
 
         $replyCode = (string)$results->{'reply-code'};
         if ($replyCode != 0 && $replyCode != 8) {
-            throw new Exception('System error fetching call slips');
+            throw new \Exception('System error fetching call slips');
         }
         $requests = [];
         if (isset($results->callslips->institution)) {
diff --git a/module/VuFind/src/VuFind/RecordDriver/IlsAwareTrait.php b/module/VuFind/src/VuFind/RecordDriver/IlsAwareTrait.php
index 323ff5cbee483f4f2c2d25bc8fc1f9a7cda576d5..56ee1fb0b4581a9213cbe99e16ed9e92138fc078 100644
--- a/module/VuFind/src/VuFind/RecordDriver/IlsAwareTrait.php
+++ b/module/VuFind/src/VuFind/RecordDriver/IlsAwareTrait.php
@@ -29,6 +29,8 @@
  */
 namespace VuFind\RecordDriver;
 
+use VuFind\Exception\ILS as ILSException;
+
 /**
  * ILS support for MARC and other types of records.
  *
diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/LibGuides/Connector.php b/module/VuFindSearch/src/VuFindSearch/Backend/LibGuides/Connector.php
index 3d1f20688eecaea3b32151a16d402b56ed895f56..e3325c06b15cc1ef6819e07e7142ee06f88de563 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/LibGuides/Connector.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/LibGuides/Connector.php
@@ -224,7 +224,6 @@ class Connector implements \Laminas\Log\LoggerAwareInterface
                 'widget_type' => 1,
                 'search_match' => 2,
                 'search_type' => 0,
-                'sort_by' => 'relevance',
                 'list_format' => 1,
                 'output_format' => 1,
                 'load_type' => 2,