From dfaf588009607d5629b07ba760ac9ae093bfe3b7 Mon Sep 17 00:00:00 2001 From: Monika Date: Tue, 24 Mar 2026 12:34:59 +0530 Subject: [PATCH] Fixed compile error: Cannot declare class WarningField --- platforms/joomla/plg_system_gantry5/gantry5.php | 2 -- platforms/joomla/plg_system_gantry5/gantry5.xml | 1 - 2 files changed, 3 deletions(-) diff --git a/platforms/joomla/plg_system_gantry5/gantry5.php b/platforms/joomla/plg_system_gantry5/gantry5.php index 8c9ad5a52..36ced3c4a 100644 --- a/platforms/joomla/plg_system_gantry5/gantry5.php +++ b/platforms/joomla/plg_system_gantry5/gantry5.php @@ -335,8 +335,6 @@ class plgSystemGantry5 extends CMSPlugin $task = $input->getCmd('task'); if (in_array($option, array('com_templates', 'com_advancedtemplates'), true)) { - // Register field class with namespace - require_once __DIR__ . '/fields/warning.php'; if ($task && strpos($task, 'style') === 0 && $this->params->get('use_assignments', true)) { // Get all ids. diff --git a/platforms/joomla/plg_system_gantry5/gantry5.xml b/platforms/joomla/plg_system_gantry5/gantry5.xml index 0528734c9..9867c8ad4 100644 --- a/platforms/joomla/plg_system_gantry5/gantry5.xml +++ b/platforms/joomla/plg_system_gantry5/gantry5.xml @@ -13,7 +13,6 @@ gantry5.php MD5SUMS - fields forms language