Undefined logging constant when changig required state from list
It happens when you try to change field required state field directly on the fields manager, following error appear
- An error has occurred.
-
0 Undefined constant SPC::LOG_UNREQUIRED
- Call stack
-
- 1 () JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1025
- 2 constant() JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1025
- 3 SPFieldAdmCtrl->changeState() JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1157
- 4 SPFieldAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:459
- 5 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 6 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 8 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
- 9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 10 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 11 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
- 12 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
- 13 require_once() JROOT/administrator/index.php:32