From 57ddafdd845f060bb948bea3858ea98f5ffaa1e9 Mon Sep 17 00:00:00 2001 From: Hugo Cox Date: Tue, 24 Dec 2024 16:02:16 +0100 Subject: [PATCH] (chore): add CommandServiceProvider to theme/functions.php --- htdocs/wp-content/themes/hollandskroon/functions.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/htdocs/wp-content/themes/hollandskroon/functions.php b/htdocs/wp-content/themes/hollandskroon/functions.php index 37e4b2d..04f52e5 100644 --- a/htdocs/wp-content/themes/hollandskroon/functions.php +++ b/htdocs/wp-content/themes/hollandskroon/functions.php @@ -4,6 +4,13 @@ defined('ABSPATH') || exit; +try { + (new HK\Providers\CommandServiceProvider())->boot(); +} catch (Exception $e) { + // Log error. + error_log('Error booting CommandServiceProvider: ' . $e->getMessage()); +} + /** * If the browser of the visitor is not Chrome or Edge. * Display message,