From b379cc761c8087e251ce9935581e76288557009a Mon Sep 17 00:00:00 2001 From: Megha Biranje Date: Thu, 2 Nov 2023 13:18:32 +0530 Subject: [PATCH] At Cpanel view Throw an error as ApiView View not found --- code/admin/views/cpanel/view.html.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/admin/views/cpanel/view.html.php b/code/admin/views/cpanel/view.html.php index 3d24557..f54024e 100644 --- a/code/admin/views/cpanel/view.html.php +++ b/code/admin/views/cpanel/view.html.php @@ -9,6 +9,8 @@ defined('_JEXEC') or die(); jimport('joomla.application.component.view'); +require_once JPATH_SITE . '/components/com_api/libraries/view.php'; +JLoader::register('ApiView', JPATH_SITE . '/components/com_api/libraries/view.php'); /** * Cpanel class