Hi again, I wanted to inform you that I have a problem in the Joomla backend, when I add a code in the "advanced settings" tab of the template, I try to save the changes, I get the following messages:
Undefined constant "DS"
Call stack
Function Location
1 () JROOT/templates/gk_simplicity/admin/elements/layoutoverride.php:13
2 require_once() JROOT/libraries/src/Form/FormHelper.php:271
3 Joomla\CMS\Form\FormHelper::loadClass() JROOT/libraries/src/Form/FormHelper.php:136
4 Joomla\CMS\Form\FormHelper::loadType() JROOT/libraries/src/Form/FormHelper.php:78
5 Joomla\CMS\Form\FormHelper::loadFieldType() JROOT/libraries/src/Form/Form.php:1451
6 Joomla\CMS\Form\Form->loadField() JROOT/libraries/src/Form/Form.php:1043
7 Joomla\CMS\Form\Form->filter() JROOT/libraries/src/Form/Form.php:991
8 Joomla\CMS\Form\Form->process() JROOT/libraries/src/MVC/Model/FormModel.php:213
9 Joomla\CMS\MVC\Model\FormModel->validate() JROOT/libraries/src/MVC/Controller/FormController.php:623
10 Joomla\CMS\MVC\Controller\FormController->save() JROOT/administrator/components/com_templates/src/Controller/StyleController.php:146
11 Joomla\Component\Templates\Administrator\Controller\StyleController->save() JROOT/libraries/src/MVC/Controller/BaseController.php:672
12 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
13 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
18 require_once() JROOT/administrator/index.php:32
This only happens using PHP version 8.1