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

Undefined index SMTP #60

Closed
Lumeriol opened this issue Mar 14, 2019 · 2 comments
Closed

Undefined index SMTP #60

Lumeriol opened this issue Mar 14, 2019 · 2 comments

Comments

@Lumeriol
Copy link

Lumeriol commented Mar 14, 2019

Version: 3.0-dev
From commit: 6e88a3e

Bug Description

Undefined index: smtp - on line 45 in src/Bridges/MailDI/MailExtension.php
if ($this->config['smtp']) {

Steps To Reproduce

If throws error only sometime, on one page immediately or after some refreshes.

EDIT: It seems that there is more similar notices, Tracy report i.e. indexes 'debugger', 'users', 'roles', etc. in SecurityExtension, 'netteMailer', 'bar', 'blueScreen' in TracyExtension.
And problems are with foreaches that use $this->config['xxx']. Seems that there is problem with missing Nette\DI\Config\Expect, that was deleted.

Possible Solution

Check if exists index, or other solution used for config array.

@dg
Copy link
Member

dg commented Jun 3, 2019

I suppose there is no problem with the stable release anymore, is it?

@Lumeriol
Copy link
Author

Lumeriol commented Jun 3, 2019

Yes, this could be closed, all is correct now .

@Lumeriol Lumeriol closed this as completed Jun 3, 2019
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