[BUG] Error when adding new package without DNS installed

Hello,

Hestia without DNS installed, raising error when adding new package, which is similar to this https://github.com/hestiacp/hestiacp/issues/389 (when editing package)

Thanks

Hi @Warin

As you can see on github, the issue has been already resolved and will be shipped with hestia 1.1.0.

The issue from github was fixed in 1.0.1 so current release 1.0.6 should not be affected.

What version of Hestia are you using and what does the error say?

@Lupu You’re completly right, waiting for more feedback from @Warin.

@Lupu
I am using 1.0.6. The fix in 1.0.1 seems only fixing editing package, not adding package.
Last night i checked /usr/local/hestia/web/add/package/index.php the code in 1.0.6 has not been fixed.

@Raphael
Thanks for the clarification that it will be fixed in 1.1.0

Relevant commit in master: https://github.com/hestiacp/hestiacp/commit/a29ab989f0beabf8a036c2049c558cff4b380837#diff-936c59ba08a17e79ffcb0885e56ea9fd