Skip to content

FatalErrorException: Compile Error: Cannot redeclare class nusoap_server #5

@ThierryDaguin

Description

@ThierryDaguin

Hi,
Using a soap_server throws an error :
FatalErrorException: Compile Error: Cannot redeclare class nusoap_server

It's because of the file vendor\nusphere\nusoap\lib\nusoap.php that contains all nusoap classes. It is included in the autoload vendor\composer\classmap.php when composer installs nusoap.

Solution:
Delete file vendor\nusphere\nusoap\lib\nusoap.php and run the command :
composer update

Regards,
Thierry

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions