Created a form by importing an sql dump. Afterwards, added a googlemap element. Now editing an entry (both front-and back-end) throws an error: error - Uncaught Throwable of type TypeError thrown with message "abs(): Argument #1 ($num) must be of type int|float, string given".
After unpublishing the googlemap element, the error disappears.
Fabrik Epsilon version, upgraded from Delta.
Info:
Joomla! Version 4.3.3
PHP Version 8.3.0
Identity user
Response 200
Template cassiopeia
Database
Server mysql
Version 5.7.39-42-log
Collation utf8mb4_general_ci
Conn Collation utf8mb4_general_ci
Log:
error - Uncaught Throwable of type TypeError thrown with message "abs(): Argument #1 ($num) must be of type int|float, string given". Stack trace: #0 [ROOT]/plugins/fabrik_element/googlemap/googlemap.php(616): abs('') #1 [ROOT]/plugins/fabrik_element/googlemap/googlemap.php(880): PlgFabrik_ElementGooglemap->_strToDMS(',') #2 [ROOT]/components/com_fabrik/models/element.php(2503): PlgFabrik_ElementGooglemap->render(Array, 0) #3 [ROOT]/components/com_fabrik/models/element.php(2292): PlgFabrik_Element->preRenderElement(Array, 0) #4 [ROOT]/components/com_fabrik/models/form.php(4881): PlgFabrik_Element->preRender(0, 2, 'bootstrap') #5 [ROOT]/components/com_fabrik/views/form/view.base.php(178): FabrikFEModelForm->getGroupView('bootstrap') #6 [ROOT]/components/com_fabrik/views/form/view.html.php(39): FabrikViewFormBase->display(NULL) #7 [ROOT]/components/com_fabrik/controllers/form.php(189): FabrikViewForm->display() #8 [ROOT]/libraries/src/MVC/Controller/BaseController.php(678): FabrikControllerForm->display() #9 [ROOT]/components/com_fabrik/fabrik.php(200): Joomla\CMS\MVC\Controller\BaseController->execute('') #10 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(71): require_once('/home/customer/...') #11 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(73): Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}('/home/customer/...') #12 [ROOT]/libraries/src/Component/ComponentHelper.php(361): Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() #13 [ROOT]/libraries/src/Application/SiteApplication.php(208): Joomla\CMS\Component\ComponentHelper::renderComponent('com_fabrik') #14 [ROOT]/libraries/src/Application/SiteApplication.php(249): Joomla\CMS\Application\SiteApplication->dispatch() #15 [ROOT]/libraries/src/Application/CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute() #16 [ROOT]/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #17 [ROOT]/index.php(32): require_once('/home/customer/...') #18 {main}
After unpublishing the googlemap element, the error disappears.
Fabrik Epsilon version, upgraded from Delta.
Info:
Joomla! Version 4.3.3
PHP Version 8.3.0
Identity user
Response 200
Template cassiopeia
Database
Server mysql
Version 5.7.39-42-log
Collation utf8mb4_general_ci
Conn Collation utf8mb4_general_ci
Log:
error - Uncaught Throwable of type TypeError thrown with message "abs(): Argument #1 ($num) must be of type int|float, string given". Stack trace: #0 [ROOT]/plugins/fabrik_element/googlemap/googlemap.php(616): abs('') #1 [ROOT]/plugins/fabrik_element/googlemap/googlemap.php(880): PlgFabrik_ElementGooglemap->_strToDMS(',') #2 [ROOT]/components/com_fabrik/models/element.php(2503): PlgFabrik_ElementGooglemap->render(Array, 0) #3 [ROOT]/components/com_fabrik/models/element.php(2292): PlgFabrik_Element->preRenderElement(Array, 0) #4 [ROOT]/components/com_fabrik/models/form.php(4881): PlgFabrik_Element->preRender(0, 2, 'bootstrap') #5 [ROOT]/components/com_fabrik/views/form/view.base.php(178): FabrikFEModelForm->getGroupView('bootstrap') #6 [ROOT]/components/com_fabrik/views/form/view.html.php(39): FabrikViewFormBase->display(NULL) #7 [ROOT]/components/com_fabrik/controllers/form.php(189): FabrikViewForm->display() #8 [ROOT]/libraries/src/MVC/Controller/BaseController.php(678): FabrikControllerForm->display() #9 [ROOT]/components/com_fabrik/fabrik.php(200): Joomla\CMS\MVC\Controller\BaseController->execute('') #10 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(71): require_once('/home/customer/...') #11 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(73): Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}('/home/customer/...') #12 [ROOT]/libraries/src/Component/ComponentHelper.php(361): Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() #13 [ROOT]/libraries/src/Application/SiteApplication.php(208): Joomla\CMS\Component\ComponentHelper::renderComponent('com_fabrik') #14 [ROOT]/libraries/src/Application/SiteApplication.php(249): Joomla\CMS\Application\SiteApplication->dispatch() #15 [ROOT]/libraries/src/Application/CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute() #16 [ROOT]/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #17 [ROOT]/index.php(32): require_once('/home/customer/...') #18 {main}