Skip to content

FatalErrorException: Compile Error: Cannot redeclare class nusoap_server #5

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions