• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Issue Error 500 - IIS.php

SM-Netuy

New Pleskian
Server operating system version
Windows Server 2022
Plesk version and microupdate number
18.0.60 #0
When the login to the Plesk control panel succeed, the following is printed:

Server Error

500 TypeError​

count(): Argument #1 ($value) must be of type Countable|array, bool given
TypeTypeError
Messagecount(): Argument #1 ($value) must be of type Countable|array, bool given
FileIIS.php
Line1827

This happen all the time after the login and the repair utility is not working (same error), besides this, all the resources are enough (Disk, RAM, CPU).

Tried the repair and checks of the tool Plesk Reconfigurator, this is done without errors, but doesn't solve anything.

The logs that was find:

[2024-04-09 08:19:55] 1264:6615245b4d14a ERR [panel] count(): Argument #1 ($value) must be of type Countable|array, bool given: 0: C:\Program Files (x86)\Plesk\admin\plib\PHostingManager\IIS.php:1827 PHostingManager_IIS::hasHostingsWithoutIPV4Address() 1: C:\Program Files (x86)\Plesk\admin\plib\DefPackageMng.php:373 DefPackageMng->_parseXMLData(string '<?xml version="1.0" encoding="utf-8"?><packages updateTime="2024-03-27 13:28:42"><type name="appin...') 2: C:\Program Files (x86)\Plesk\admin\plib\DefPackageMng.php:43 DefPackageMng->__construct(string '<?xml version="1.0" encoding="utf-8"?><packages updateTime="2024-03-27 13:28:42"><type name="appin...') 3: C:\Program Files (x86)\Plesk\admin\plib\DefPackageMng.php:25 DefPackageMng::make() 4: C:\Program Files (x86)\Plesk\admin\plib\class.TrialDrWeb.php:41 TrialDrWebManager->__construct() 5: C:\Program Files (x86)\Plesk\admin\plib\class.TrialDrWeb.php:9 TrialDrWebManagerMaker() 6: C:\Program Files (x86)\Plesk\admin\htdocs\check-plesk.php:220
 
Back
Top