PHP Classes

Unable to test package

Recommend this page to a friend!

      PHP Windows Registry Access  >  All threads  >  Unable to test package  >  (Un) Subscribe thread alerts  
Subject:Unable to test package
Summary:example.php will not execute to completion
Messages:1
Author:jaydeel
Date:2020-05-25 19:06:14
 

  1. Unable to test package   Reply   Report abuse  
Picture of jaydeel jaydeel - 2020-05-25 19:06:14
Running example.php is returning this error...

C:\Windows\system32>php.exe "C:\Apache24\htdocs\example.php"

Fatal error: Uncaught com_exception: Source: SWbemObjectEx
Description: Type mismatch in C:\Apache24\htdocs\Registry.class.php:628
Stack trace:
#0 C:\Apache24\htdocs\Registry.class.php(628): com->EnumKey(2147483649, 'Software', Object(variant))
#1 C:\Apache24\htdocs\example.php(66): Registry->EnumKeys(2147483649, 'Software')
#2 {main}
thrown in C:\Apache24\htdocs\Registry.class.php on line 628

~~~~
Apache/2.4.41 (Win64) PHP/7.3.9RC1