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
0 - Call to undefined function bdump()
-
redback
- Phoca Member

- Posts: 18
- Joined: 03 Mar 2010, 02:28
- Nidzo
- Phoca Expert

- Posts: 542
- Joined: 07 Nov 2018, 14:55
Re: 0 - Call to undefined function bdump()
Go to Joomla Global configuration and turn Debug ON and set Error reporting to Maximum.
Then reload Merchandise page and paste full debug here.
Then reload Merchandise page and paste full debug here.
- Nidzo
- Phoca Expert

- Posts: 542
- Joined: 07 Nov 2018, 14:55
Re: 0 - Call to undefined function bdump()
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
@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
-
redback
- Phoca Member

- Posts: 18
- Joined: 03 Mar 2010, 02:28
Re: 0 - Call to undefined function bdump()
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
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
-
bambino
- Phoca Enthusiast

- Posts: 79
- Joined: 09 Jan 2012, 20:23
Re: 0 - Call to undefined function bdump()
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
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
-
rusty-bearing
- Phoca Member

- Posts: 10
- Joined: 19 Nov 2023, 18:26
Re: 0 - Call to undefined function bdump()
Yep, that solution works. 😎👍
Debugging line left in accidentally?
Debugging line left in accidentally?
-
redback
- Phoca Member

- Posts: 18
- Joined: 03 Mar 2010, 02:28
Re: 0 - Call to undefined function bdump()
Many thanks.
- Jan
- Phoca Hero

- Posts: 49482
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 0 - Call to undefined function bdump()
Hi, thank you for the info, it should be OK in version 6.1.3:
https://www.phoca.cz/download/99-phoca- ... -component
https://www.phoca.cz/download/99-phoca- ... -component
If you find Phoca extensions useful, please support the project
-
redback
- Phoca Member

- Posts: 18
- Joined: 03 Mar 2010, 02:28
Re: 0 - Call to undefined function bdump()
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
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