Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Conversation

@websmurf
Copy link
Contributor

Fixes this error:

SandwaveIo\RealtimeRegister\Exceptions\InvalidArgumentException: Unexpected ENUM value in in class SandwaveIo\RealtimeRegister\Domain\Enum\DomainZoneRecordTypeEnum: DNSKEY. Possible values: (A, AAAA, ALIAS, CAA, CNAME, HINFO, MBOXFW, MX, NAPTR, NS, SOA, SRV, TXT, TLSA, URL)
#91 /vendor/sandwave-io/realtimeregister-php/src/Domain/Enum/AbstractEnum.php(19): SandwaveIo\RealtimeRegister\Domain\Enum\AbstractEnum::assertValueValid
#90 /vendor/sandwave-io/realtimeregister-php/src/Domain/Enum/DomainZoneRecordTypeEnum.php(44): SandwaveIo\RealtimeRegister\Domain\Enum\DomainZoneRecordTypeEnum::validate
#89 /vendor/sandwave-io/realtimeregister-php/src/Domain/DomainZoneRecord.php(35): SandwaveIo\RealtimeRegister\Domain\DomainZoneRecord::fromArray
#88 /vendor/sandwave-io/realtimeregister-php/src/Domain/DomainZoneRecordCollection.php(22): SandwaveIo\RealtimeRegister\Domain\DomainZoneRecordCollection::parseChild
#87 /vendor/sandwave-io/realtimeregister-php/src/Domain/AbstractCollection.php(81): SandwaveIo\RealtimeRegister\Domain\AbstractCollection::{closure:SandwaveIo\RealtimeRegister\Domain\AbstractCollection::fromArray():80}
#86 [internal](0): array_map
#85 /vendor/sandwave-io/realtimeregister-php/src/Domain/AbstractCollection.php(80): SandwaveIo\RealtimeRegister\Domain\AbstractCollection::fromArray
#84 /vendor/sandwave-io/realtimeregister-php/src/Domain/DomainZoneRecordCollection.php(12): SandwaveIo\RealtimeRegister\Domain\DomainZoneRecordCollection::fromArray
#83 /vendor/sandwave-io/realtimeregister-php/src/Domain/DomainZone.php(41): SandwaveIo\RealtimeRegister\Domain\DomainZone::__construct
#82 /vendor/sandwave-io/realtimeregister-php/src/Domain/DomainZone.php(47): SandwaveIo\RealtimeRegister\Domain\DomainZone::fromArray
#81 /vendor/sandwave-io/realtimeregister-php/src/Api/DomainsApi.php(73): SandwaveIo\RealtimeRegister\Api\DomainsApi::zone

@patka-123
Copy link

Hey, thanks for the contribution, but unfortunately this package will not be maintained going forward. We'll soon mark this repository as archived accordingly. I'd recommend the first-party https://github.com/realtimeregister/realtimeregister-php instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants