-
-
Notifications
You must be signed in to change notification settings - Fork 290
Closed
Description
Describe the problem
When I want to update zones from the template edit, I have this error:
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /app/lib/Domain/Service/Dns/DomainManager.php on line 520
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /app/lib/Domain/Service/Dns/DomainManager.php on line 520
Fatal error: Uncaught TypeError: Poweradmin\Domain\Model\ZoneTemplate::parseTemplateValue(): Argument #2 ($domain) must be of type string, null given, called in /app/lib/Domain/Service/Dns/DomainManager.php on line 521 and defined in /app/lib/Domain/Model/ZoneTemplate.php:926 Stack trace: #0 /app/lib/Domain/Service/Dns/DomainManager.php(521): Poweradmin\Domain\Model\ZoneTemplate->parseTemplateValue('[ZONE]', NULL) #1 /app/lib/Domain/Service/DnsRecord.php(666): Poweradmin\Domain\Service\Dns\DomainManager->updateZoneRecords('mysql', 600, 156, 6) #2 /app/lib/Application/Controller/EditZoneTemplController.php(222): Poweradmin\Domain\Service\DnsRecord->updateZoneRecords('mysql', 600, 156, 6) #3 /app/lib/Application/Controller/EditZoneTemplController.php(113): Poweradmin\Application\Controller\EditZoneTemplController->updateZoneRecords(6) #4 /app/lib/Application/Controller/EditZoneTemplController.php(93): Poweradmin\Application\Controller\EditZoneTemplController->updateZoneTemplate(6) #5 /app/lib/Application/Routing/SymfonyRouter.php(166): Poweradmin\Application\Controller\EditZoneTemplController->run() #6 /app/index.php(43): Poweradmin\Application\Routing\SymfonyRouter->process() #7 {main} thrown in /app/lib/Domain/Model/ZoneTemplate.php on line 926
Steps to reproduce
- Create template
- Create zone from template
- Add record to template
- Click on Update zones button
Poweradmin version
v4.1.0 - Docker
Database
MariaDB
Additional information (optional)
No response
Reactions are currently unavailable