Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FatalErrorException: Compile Error: Cannot redeclare class nusoap_server #5

Open
ThierryDaguin opened this issue Dec 16, 2013 · 4 comments
Assignees
Labels
Milestone

Comments

@ThierryDaguin
Copy link

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

@ghost ghost assigned vitorbrandao Dec 17, 2013
@vitorbrandao
Copy link
Member

Hello @ThierryDaguin.

Do you mean vendor/composer/autoload_classmap.php or vendor\composer\classmap.php? If the latter can you post the content of that file?

@ThierryDaguin
Copy link
Author

Hello,

Sorry, it's vendor\composer\autoload_classmap.php file.

@Hakadel
Copy link

Hakadel commented May 7, 2014

Anyone fix this bug ?

I have the same error :

PHP Fatal error: Cannot redeclare class nusoap_client in /space/www/campagnederentree.sgdf.fr/data/htdocs/capifony/releases/20140505175343/vendor/nusphere/nusoap/lib/class.soapclient.php on line 26

@vitorbrandao vitorbrandao modified the milestones: 0.1, 0.2.0, 0.1.0 May 18, 2015
@vitorbrandao
Copy link
Member

Hi all, can you retest with 0.2.0 or latest dev-master please? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants