From b15abc30a649cab86b3a9bb9ea64b45b31a20dba Mon Sep 17 00:00:00 2001 From: GautamMKGarg Date: Sat, 21 Oct 2023 01:37:40 +0530 Subject: [PATCH] Fixing incorrect file path Due to incorrect file path, we are getting exception. --- Deprecated.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Deprecated.php b/Deprecated.php index ca439da7..f06d6e64 100644 --- a/Deprecated.php +++ b/Deprecated.php @@ -14,7 +14,7 @@ define("REQUESTS_SILENCE_PSR0_DEPRECATIONS",true); if (class_exists('WpOrg\Requests\Autoload') === false) { - require_once __DIR__. 'libs/Requests-2.0.4/src/Autoload.php'; + require_once __DIR__. '/libs/Requests-2.0.4/src/Autoload.php'; } -WpOrg\Requests\Autoload::register(); \ No newline at end of file +WpOrg\Requests\Autoload::register();