Page 1 of 1
0 - Call to undefined function bdump()
Posted: 07 Jul 2026, 04:00
by redback
Hello,
Running Joomla 5.4.6 - PHP 8.3
I updated Phoca Cart from 6.1.1 to 6.1.2 now when selecting the menu item in the frontend Merchandise I get the error
0 - Call to undefined function bdump()
Menu Item Type - Phoca Cart - Category View (Product List Layout)
Select Category - Merchandise
https://mtdare.com.au/ go to Services / select Merchandise
How do I fix this?
Cheers
Re: 0 - Call to undefined function bdump()
Posted: 07 Jul 2026, 15:10
by Nidzo
Go to Joomla Global configuration and turn Debug ON and set Error reporting to Maximum.
Then reload Merchandise page and paste full debug here.
Re: 0 - Call to undefined function bdump()
Posted: 07 Jul 2026, 15:45
by Nidzo
OK It is Phoca Cart 6.1.2 bug
@Jan
0 Call to undefined function bdump()
Call Stack
# Function Location
1 () JROOT/components/com_phocacart/layouts/items_grid.php:31
2 include() JROOT/libraries/src/Layout/FileLayout.php:128
3 Joomla\CMS\Layout\FileLayout->render() JROOT/components/com_phocacart/views/category/tmpl/default.php:533
4 include() JROOT/libraries/src/MVC/View/HtmlView.php:423
5 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:204
6 Joomla\CMS\MVC\View\HtmlView->display() JROOT/components/com_phocacart/views/category/view.html.php:272
7 PhocaCartViewCategory->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
8 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_phocacart/controller.php:53
9 PhocaCartController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_phocacart/phocacart.php:18
11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:218
15 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:272
16 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:320
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
18 require_once() JROOT/index.php:51
Re: 0 - Call to undefined function bdump()
Posted: 07 Jul 2026, 23:56
by redback
Call to undefined function bdump()
Call Stack
# Function Location
1 () JROOT/components/com_phocacart/layouts/items_grid.php:31
2 include() JROOT/libraries/src/Layout/FileLayout.php:128
3 Joomla\CMS\Layout\FileLayout->render() JROOT/templates/hexa_corp/html/com_phocacart/category/default.php:517
4 include() JROOT/libraries/src/MVC/View/HtmlView.php:419
5 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:204
6 Joomla\CMS\MVC\View\HtmlView->display() JROOT/components/com_phocacart/views/category/view.html.php:272
7 PhocaCartViewCategory->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
8 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_phocacart/controller.php:53
9 PhocaCartController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_phocacart/phocacart.php:18
11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:217
15 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:271
16 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:304
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
18 require_once() JROOT/index.php:51
Re: 0 - Call to undefined function bdump()
Posted: 08 Jul 2026, 09:32
by bambino
Hallo,
The error occurred for me after updating to PhocaCart version 6.1.2 on Joomla 6.1.1.
Solution:
Comment out the line:
bdump("col.xs{$colMobile}.sm{$col}.md{$col}");
in the file:
components/com_phocacart/layouts/items_grid.php
Viele Grüße
Manuel
Re: 0 - Call to undefined function bdump()
Posted: 08 Jul 2026, 10:13
by rusty-bearing
Yep, that solution works. 😎👍
Debugging line left in accidentally?
Re: 0 - Call to undefined function bdump()
Posted: 09 Jul 2026, 04:00
by redback
Many thanks.
Re: 0 - Call to undefined function bdump()
Posted: 10 Jul 2026, 01:52
by Jan
Hi, thank you for the info, it should be OK in version 6.1.3:
https://www.phoca.cz/download/99-phoca- ... -component
Re: 0 - Call to undefined function bdump()
Posted: 10 Jul 2026, 03:44
by redback
Hi Team,
I updated phocacart to v6.1.3 now I am getting a notification to update Phoca Cart System Plugin 6.0.0 to 6.1.0
When trying to update in Joomla admin I get this error;
Failed to download package. Download it and install manually from
https://github.com/PhocaCz/PhocaCartSys ... v6.1.0.zip
Clicking on the link I get Not Found
I have searched for the Phoca Cart System Plugin 6.1.0 but have not found.
Could you please advise how to upgrade Phoca Cart System Plugin 6.0.0 to 6.1.0
Cheers