"0 Call to a member function format() on bool" when changing item

Phoca Download - download manager
User avatar
woodyf4u
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 10 Jan 2009, 22:20
Location: The Netherlands
Contact:

"0 Call to a member function format() on bool" when changing item

Post by woodyf4u »

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

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9440
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: "0 Call to a member function format() on bool" when changing item

Post by Benno »

Hi,
see: viewtopic.php?t=65569

Kind regards,
Benno
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: "0 Call to a member function format() on bool" when changing item

Post by Jan »

Hi,

In short, FYI: it is Joomla bug (fixed) but it waits for next release:
https://github.com/joomla/joomla-cms/pull/43234
(in the link, Benno pasted, there is information how to quick fix temporarily)

Jan
If you find Phoca extensions useful, please support the project
User avatar
woodyf4u
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 10 Jan 2009, 22:20
Location: The Netherlands
Contact:

Re: "0 Call to a member function format() on bool" when changing item

Post by woodyf4u »

OK thanks
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9440
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: "0 Call to a member function format() on bool" when changing item

Post by Benno »

You're welcome!

Kind regards,
Benno
Post Reply