Can't save Category edits
Posted: 15 May 2024, 19:47
Hi,
I have the latest version of Phoca Gallery 5 and Joomla 5.
When I edit a Category and press the Save button I get an error and nothing is saved. The following email error message is sent to me. I have edited out private information like xxxxxx
Please can you help me?
Thank you,
Andy
-------------
Error Code 0
Error Type Error
Message Call to a member function format() on bool
File /home/xxxxxxx/public_html/libraries/src/Form/Field/CalendarField.php
Line 400
Protocol https
Request /administrator/index.php?option=com_phocagallery&view=phocagalleryc&layout=edit&id=110
Referrer https://xxxxxxxxx.co.uk/administrator/i ... dit&id=110
Method POST
Type Function Class Line File
D filter Joomla\CMS\Form\Field\CalendarField 1047 /libraries/src/Form/Form.php
D filter Joomla\CMS\Form\Form 991 /libraries/src/Form/Form.php
D process Joomla\CMS\Form\Form 219 /libraries/src/MVC/Model/FormModel.php
D validate Joomla\CMS\MVC\Model\FormModel 238 /administrator/components/com_phocagallery/controllers/phocagalleryc.php
D save PhocaGalleryCpControllerPhocaGalleryc 730 /libraries/src/MVC/Controller/BaseController.php
D execute Joomla\CMS\MVC\Controller\BaseController 50 /administrator/components/com_phocagallery/phocagallery.php
N/A require_once N/A 71 /libraries/src/Dispatcher/LegacyComponentDispatcher.php
S Joomla\CMS\Dispatcher\{closure} Joomla\CMS\Dispatcher\LegacyComponentDispatcher 73 /libraries/src/Dispatcher/LegacyComponentDispatcher.php
D dispatch Joomla\CMS\Dispatcher\LegacyComponentDispatcher 361 /libraries/src/Component/ComponentHelper.php
S renderComponent Joomla\CMS\Component\ComponentHelper 150 /libraries/src/Application/AdministratorApplication.php
D dispatch Joomla\CMS\Application\AdministratorApplication 195 /libraries/src/Application/AdministratorApplication.php
D doExecute Joomla\CMS\Application\AdministratorApplication 306 /libraries/src/Application/CMSApplication.php
D execute Joomla\CMS\Application\CMSApplication 58 /administrator/includes/app.php
N/A require_once N/A 32 /administrator/index.php
-----------
I have the latest version of Phoca Gallery 5 and Joomla 5.
When I edit a Category and press the Save button I get an error and nothing is saved. The following email error message is sent to me. I have edited out private information like xxxxxx
Please can you help me?
Thank you,
Andy
-------------
Error Code 0
Error Type Error
Message Call to a member function format() on bool
File /home/xxxxxxx/public_html/libraries/src/Form/Field/CalendarField.php
Line 400
Protocol https
Request /administrator/index.php?option=com_phocagallery&view=phocagalleryc&layout=edit&id=110
Referrer https://xxxxxxxxx.co.uk/administrator/i ... dit&id=110
Method POST
Type Function Class Line File
D filter Joomla\CMS\Form\Field\CalendarField 1047 /libraries/src/Form/Form.php
D filter Joomla\CMS\Form\Form 991 /libraries/src/Form/Form.php
D process Joomla\CMS\Form\Form 219 /libraries/src/MVC/Model/FormModel.php
D validate Joomla\CMS\MVC\Model\FormModel 238 /administrator/components/com_phocagallery/controllers/phocagalleryc.php
D save PhocaGalleryCpControllerPhocaGalleryc 730 /libraries/src/MVC/Controller/BaseController.php
D execute Joomla\CMS\MVC\Controller\BaseController 50 /administrator/components/com_phocagallery/phocagallery.php
N/A require_once N/A 71 /libraries/src/Dispatcher/LegacyComponentDispatcher.php
S Joomla\CMS\Dispatcher\{closure} Joomla\CMS\Dispatcher\LegacyComponentDispatcher 73 /libraries/src/Dispatcher/LegacyComponentDispatcher.php
D dispatch Joomla\CMS\Dispatcher\LegacyComponentDispatcher 361 /libraries/src/Component/ComponentHelper.php
S renderComponent Joomla\CMS\Component\ComponentHelper 150 /libraries/src/Application/AdministratorApplication.php
D dispatch Joomla\CMS\Application\AdministratorApplication 195 /libraries/src/Application/AdministratorApplication.php
D doExecute Joomla\CMS\Application\AdministratorApplication 306 /libraries/src/Application/CMSApplication.php
D execute Joomla\CMS\Application\CMSApplication 58 /administrator/includes/app.php
N/A require_once N/A 32 /administrator/index.php
-----------