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

Creating default object from empty value in.. multiple lines. #22

Open
perskes opened this issue Oct 12, 2016 · 2 comments
Open

Creating default object from empty value in.. multiple lines. #22

perskes opened this issue Oct 12, 2016 · 2 comments

Comments

@perskes
Copy link

perskes commented Oct 12, 2016

Hey, thanks for the great software. Sadly I encountered a problem.
I used the advanced installation and the demo you have on the <>code page.

I filled in the blind-text as my real mailserver (mail.domain.tld), used my outlook/domain login in the code-snippet and executed the code.

This is the error:

➜  Exchange-Web-Services-for-PHP git:(master) ✗ php outlooktest.php    
PHP Warning:  Creating default object from empty value in /var/www/html/Exchange-Web-Services-for-PHP/lib/ExchangeClient.php on line 349
PHP Warning:  Creating default object from empty value in /var/www/html/Exchange-Web-Services-for-PHP/lib/ExchangeClient.php on line 355
PHP Warning:  Creating default object from empty value in /var/www/html/Exchange-Web-Services-for-PHP/lib/ExchangeClient.php on line 357
PHP Warning:  Creating default object from empty value in /var/www/html/Exchange-Web-Services-for-PHP/lib/ExchangeClient.php on line 370

All the files are there and are modified as the advanced installation requires.

➜  lib git:(master) ✗ ls
ExchangeClient.php  ExchangeNTLMStream.php  messages.xsd  NTLMSoapClient.php  NTLMStream.php  Services.wsdl  types.xsd

Maybe you can help me with that! Thanks a lot!

@SergioReis97
Copy link

Did you manage to fix that error @perskes ?

@ghost
Copy link

ghost commented Nov 8, 2017

This issue has been resolved:

95d941a Bugs & warnings corrected for proper operation (7 Apr 2017)

Lines 349, 355, 357 and 370 assigned properties to objects without object initialization. Commit 95d941a resolved this.

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

No branches or pull requests

2 participants