"0 Call to a member function format() on bool" when changing item
Posted: 24 Apr 2024, 14:13
Hi,
I receive this error "0 Call to a member function format() on bool" when changing an article and a category.
When I edit such an item I get the error message.
But when I create a new item it works fine.
This is a copy of the error reporting:
0 Call to a member function format() on bool
Call Stack
# Function Location
1 () JROOT/libraries/src/Form/Field/CalendarField.php:400
2 Joomla\CMS\Form\Field\CalendarField->filter() JROOT/libraries/src/Form/Form.php:1047
3 Joomla\CMS\Form\Form->filter() JROOT/libraries/src/Form/Form.php:991
4 Joomla\CMS\Form\Form->process() JROOT/libraries/src/MVC/Model/FormModel.php:219
5 Joomla\CMS\MVC\Model\FormModel->validate() JROOT/libraries/src/MVC/Controller/FormController.php:636
6 Joomla\CMS\MVC\Controller\FormController->save() JROOT/libraries/src/MVC/Controller/BaseController.php:730
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_phocadownload/phocadownload.php:47
8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
12 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:195
13 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
15 require_once() JROOT/administrator/index.php:32 douma
What can I do to resolve it?
Joomla 5.1.0 and Phoca Download 5.0.2
I receive this error "0 Call to a member function format() on bool" when changing an article and a category.
When I edit such an item I get the error message.
But when I create a new item it works fine.
This is a copy of the error reporting:
0 Call to a member function format() on bool
Call Stack
# Function Location
1 () JROOT/libraries/src/Form/Field/CalendarField.php:400
2 Joomla\CMS\Form\Field\CalendarField->filter() JROOT/libraries/src/Form/Form.php:1047
3 Joomla\CMS\Form\Form->filter() JROOT/libraries/src/Form/Form.php:991
4 Joomla\CMS\Form\Form->process() JROOT/libraries/src/MVC/Model/FormModel.php:219
5 Joomla\CMS\MVC\Model\FormModel->validate() JROOT/libraries/src/MVC/Controller/FormController.php:636
6 Joomla\CMS\MVC\Controller\FormController->save() JROOT/libraries/src/MVC/Controller/BaseController.php:730
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_phocadownload/phocadownload.php:47
8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
12 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:195
13 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
15 require_once() JROOT/administrator/index.php:32 douma
What can I do to resolve it?
Joomla 5.1.0 and Phoca Download 5.0.2