Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Unknown error for someusers

Some of our users get error 500 when going to the OCSreports URL:

and the apache logs gives out this error:

 [Mon Dec 05 11:55:14.235822 2022] [php7:error] [pid 730059] [client] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to XMLUrlsSerializer::serialize() must be an instance of Urls, bool given, called in /usr/share/ocsinventory-reports/ocsreports/require/config/include.php on line 57 and defined in /usr/share/ocsinventory-reports/ocsreports/require/config/XMLUrlsSerializer.php:29\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/require/config/include.php(57): XMLUrlsSerializer->serialize()\n#1 /usr/share/ocsinventory-reports/ocsreports/require/config/include.php(46): migrate_urls_2_2()\n#2 /usr/share/ocsinventory-reports/ocsreports/backend/identity/methode/local.php(48): migrate_config_2_2()\n#3 /usr/share/ocsinventory-reports/ocsreports/backend/identity/identity.php(32): require_once('/usr/share/ocsi...')\n#4 /usr/share/ocsinventory-reports/ocsreports/require/header.php(330): require_once('/usr/share/ocsi...')\n#5 /usr/share/ocsinventory-reports/ocsreports/index.php(44): require('/usr/share/ocsi...')\n#6 {main}\n  thrown in /usr/share/ocsinventory-reports/ocsreports/require/config/XMLUrlsSerializer.php on line 29

We cant figure out why it works for some but not for others.
in OCS Inventory NG server for Unix by (120 points)

Please log in or register to answer this question.

Powered by Question2Answer