Download all Joomla templates including quickstart (demo)only $24.99


Important - Hands Up!

- Please ask using the account with which you made the purchase or download of our products and in its respective category.
- If you bought our products in another market, ask your questions in that market, not here.


“Unable to find a user with the ID: 588”

  • G
  • GerritJ New Member
  • Topic Author 1 year 3 months ago #1
Thank you for your brilliant support on fixing the previous propblem!

Same site as before:
Using PHP 8.0.27; MSQL 10.1.48 Joomla 4 VirueMart for Joomla 4 Purchase Code: [redacted]
Bought the Unitemplates / Tienda Template - Quickinstall.

I am trying to set up the VirtueMart Shop:
Clicked on “VirtueMart” then “Shop” and get the following error:
“Unable to find a user with the ID: 588”
“0 count(): Argument #1 ($value) must be of type Countable|array, null given “
Changed the setting to debug and got the following:

Call stack
# Function Location
1 () JROOT/administrator/components/com_virtuemart/views/user/view.html.php:177
2 VirtuemartViewUser->display() JROOT/administrator/components/com_virtuemart/helpers/vmcontroller.php:121
3 VmController->display() JROOT/administrator/components/com_virtuemart/helpers/vmcontroller.php:146
4 VmController->edit() JROOT/administrator/components/com_virtuemart/controllers/user.php:53
5 VirtuemartControllerUser->edit() JROOT/administrator/components/com_virtuemart/controllers/user.php:81
6 VirtuemartControllerUser->editshop() JROOT/libraries/src/MVC/Controller/BaseController.php:672
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_virtuemart/virtuemart.php:75
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:355
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
12 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
13 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
15 require_once() JROOT/administrator/index.php:32

Please Log in or Create an account to join the conversation.

  • L
  • leoalv Moderator
  • 1 year 3 months ago #2
Hi, for fix user ID follow next steps:
1. Go to: Components >> Virtuemart >> Configuration >> Shop tab >> Advanced Settings section >> select Yes in Enable Database Update Tools >> save & Close button.
2. Click in virtuemart menu toggler (square with 3 lines) >> Tools & Migration >> Set Store Owner >> in box write your user ID ( see it in Joomla menu >> Users >> Manage) then press Set Store Owner button.

If it not solve error that you send in your question, you need update virtuemart from Joomla Menu >> System >> Update >> Extensions


Please Log in or Create an account to join the conversation.