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.

OCSNG and PHP 7 issues

Dear all

we are running OCSNG on debian since ever but after an PHP upgrade to 7 we have a massive issue: after login we just get a blank page. Several updates to 2.5 and 2.6RC are not solving the issue at. Apache 2 error log just says:

 PHP Fatal error:  main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "language" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /usr/share/ocsinventory-reports/ocsreports/install.php on line 82, referer: http://wbmon02.wbetalnet.int/ocsreports

Unfortunately we cannot go back to PHP 5.6 because of other apps running on this machine. Any help is highly appreciated

Thanks and best regards

in OCS Inventory NG server for Unix by (120 points)

1 Answer

0 votes

Could you open an issue on https://github.com/OCSInventory-NG/OCSInventory-ocsreports/issues/new ?


Best regards

by (88.5k points)
Powered by Question2Answer