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

Unknown error while update IP adress #18

Closed
havastamas opened this issue Aug 27, 2021 · 5 comments
Closed

Unknown error while update IP adress #18

havastamas opened this issue Aug 27, 2021 · 5 comments

Comments

@havastamas
Copy link

I have set up the lastest version of SynologyDDNSCloudflareMultidomain on my Synology, but when i configure the DDNS, the DSM reports unknow error.

I have tired the debug command, and it gives the following error:

Catchable fatal error: Argument 2 passed to updateCFDDNS::setRecord() must be an instance of string, null given, called in /usr/syno/bin/ddns/cloudflare.php on line 85 and defined in /usr/syno/bin/ddns/cloudflare.php on line 226

@jkrasinger
Copy link

Have installed the latest Version on My Synology Router. After setting up on my router got same error Message as @havastamas

@sdhawade
Copy link
Contributor

Its a type hinting compatibility issue with PHP, you can edit line 226 as follows to get it to work
original : function setRecord($arHostData, string $ip, $type)
edit to : function setRecord($arHostData, $ip, $type)

@jkrasinger
Copy link

Thanks @sdhawade , now it's working.

sdhawade added a commit to sdhawade/SynologyDDNSCloudflareMultidomain that referenced this issue Aug 31, 2021
Fix for Issue mrikirill#18  Remove string hinting from setrecord method
@IGProd
Copy link

IGProd commented Sep 5, 2021

hi how much of record support script on synology dsm7 when i enter more than 5 subodmaine i got failed report with missed caracteres in the last record that i entred

for example www.domaine.com---test.domaine.com---test2.domaine.com---test. in DDNS server Cloudflare. The reported reason is [Incorrect hostname format.].

@IGProd
Copy link

IGProd commented Sep 5, 2021

hi how much of record support script on synology dsm7 when i enter more than 5 subodmaine i got failed report with missed caracteres in the last record that i entred

for example www.domaine.com---test.domaine.com---test2.domaine.com---test. in DDNS server Cloudflare. The reported reason is [Incorrect hostname format.].

I did not see the issue above, thank you

#17

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

5 participants