Skip to content

[Bug]: $ptrZoneId) must be of type int, null given #760

@C0kkie

Description

@C0kkie

Describe the problem

Hello,

we upgraded from v3 to v4 and after saving a ptr, we get the following error (it saves, but throws error)

Steps to reproduce

Go to zones
Create ptr record
save it

Poweradmin version

4.0.1

Database

MySQL

Additional information (optional)

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Poweradmin\Application\Service\RecordCommentSyncService::updateARecordComment(): Argument #1 ($ptrZoneId) must be of type int, null given, called in [/var/www/vhosts/dnsadmin/httpdocs/lib/Application/Service/RecordCommentSyncService.php] on line 100 and defined in [/var/www/vhosts/dnsadmin./httpdocs/lib/Application/Service/RecordCommentSyncService.php]\nStack trace:\n#0 /var/www/vhosts/dnsadmin/httpdocs/lib/Application/Service/RecordCommentSyncService.php: Poweradmin\Application\Service\RecordCommentSyncService->updateARecordComment()\n#1 /var/www/vhosts/dnsadmin/httpdocs/lib/Application/Controller/EditRecordController.php: Poweradmin\Application\Service\RecordCommentSyncService->updateRelatedRecordComments()\n#2 /var/www/vhosts/dnsadmin/httpdocs/lib/Application/Controller/EditRecordController.php: Poweradmin\Application\Controller\EditRecordC...', referer: https://dnsadmin/index.php?page=edit_record&domain=368&id=70378134

PHP 8.3.24

Metadata

Metadata

Assignees

Labels

coreCore Features

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions