WsdlToPhp / PackageGenerator

Generates a PHP SDK based on a WSDL, simple and powerful, WSDL to PHP
https://providr.io
MIT License
418 stars 73 forks source link

Undefined constant "WsdlToPhp\PackageGenerator\Generator\SOAP_1_1" #298

Closed DiDebru closed 10 months ago

DiDebru commented 1 year ago

Describe the bug Downloaded the phar and hit this error: PHP Fatal error: Uncaught Error: Undefined constant "WsdlToPhp\PackageGenerator\Generator\SOAP_1_1" in phar:///path/to//wsdltophp/src/Generator/GeneratorSoapClient.php:22

To Reproduce Download the phar and use it.

Expected behavior No fatal error.

Additional context

mikaeldelsol commented 1 year ago

Hi, so weird it did not break nor anyone else did encounter this issue before. To be sure, can you precise your PHP version? Thanks

ZanMaticPratnemer commented 11 months ago

I encountered the same problem with PHP 8.2.7