Hi, I used the package manager in MODX 3.0.1-pl to load the getDate snippet. Now the package manager doesn’t work anymore. The “package update check” runs infinite.
The dashboard shows only error messages (the path has been anonymised by me):
TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given
Errors:
/var/www/vhosts/…/httpdocs/core/src/Revolution/Processors/Workspace/Packages/GetList.php:218
MODX\Revolution\Processors\Workspace\Packages\GetList->checkForUpdates() in /var/www/vhosts/…/httpdocs/manager/controllers/default/dashboard/widget.updates.php:78
modDashboardWidgetUpdates->render() in /var/www/vhosts/…/httpdocs/core/src/Revolution/modDashboardWidgetInterface.php:81
MODX\Revolution\modDashboardWidgetInterface->process() in /var/www/vhosts/…/httpdocs/core/src/Revolution/modDashboardWidget.php:134
MODX\Revolution\modDashboardWidget->getContent() in /var/www/vhosts/…/httpdocs/core/src/Revolution/modDashboard.php:122
MODX\Revolution\modDashboard->render() in /var/www/vhosts/…/httpdocs/manager/controllers/default/welcome.class.php:109
WelcomeManagerController->process() in /var/www/vhosts/…/httpdocs/core/src/Revolution/modManagerController.php:178
MODX\Revolution\modManagerController->render() in /var/www/vhosts/…/httpdocs/core/src/Revolution/modManagerResponse.php:114
MODX\Revolution\modManagerResponse->outputContent() in /var/www/vhosts/…/httpdocs/core/src/Revolution/modManagerRequest.php:173
MODX\Revolution\modManagerRequest->prepareResponse() in /var/www/vhosts/…/httpdocs/core/src/Revolution/modManagerRequest.php:143
MODX\Revolution\modManagerRequest->handleRequest() in /var/www/vhosts/…/httpdocs/manager/index.php:60
Is there a solution to solve the problem? What can I do? Please help, I’m not able to solve this myself. Many thanks!