<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cannot read properties of undefined (reading &#x27;sort&#x27;)]]></title><description><![CDATA[<p dir="auto">Anyone had this when adding a domain name from Cloudflare?  This one was a .co.uk - others worked fine.</p>
]]></description><link>https://forum.cloudron.io/topic/10833/cannot-read-properties-of-undefined-reading-sort</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 12:22:41 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/10833.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Jan 2024 23:44:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot read properties of undefined (reading &#x27;sort&#x27;) on Tue, 16 Jan 2024 11:37:02 GMT]]></title><description><![CDATA[<p dir="auto">This is fixed now.</p>
<p dir="auto">The original issue is that the zone is added in Cloudflare but the nameservers of the domain are not set to Cloudflare. This makes Cloudflare return <code>name_servers</code> as empty in the response which makes our code crash.</p>
]]></description><link>https://forum.cloudron.io/post/81168</link><guid isPermaLink="true">https://forum.cloudron.io/post/81168</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 16 Jan 2024 11:37:02 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot read properties of undefined (reading &#x27;sort&#x27;) on Tue, 16 Jan 2024 11:22:48 GMT]]></title><description><![CDATA[<p dir="auto">The full logs are:</p>
<pre><code>HttpError: Cannot read properties of undefined (reading 'sort') 
    at BoxError.toHttpError (/home/yellowtent/box/src/boxerror.js:106:16)
    at add (/home/yellowtent/box/src/routes/domains.js:58:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { 
  status: 500,
  internalError: TypeError: Cannot read properties of undefined (reading 'sort')
      at Object.verifyDomainConfig (/home/yellowtent/box/src/dns/cloudflare.js:272:38)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
  details: null
}
</code></pre>
]]></description><link>https://forum.cloudron.io/post/81166</link><guid isPermaLink="true">https://forum.cloudron.io/post/81166</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 16 Jan 2024 11:22:48 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot read properties of undefined (reading &#x27;sort&#x27;) on Fri, 12 Jan 2024 13:54:38 GMT]]></title><description><![CDATA[<p dir="auto">Curiously, the routes code does not use 'sort' at all. But cloudflare code does use it. I have added some checks for cloudflare response validation now but that still won't solve the actual error mostly.</p>
]]></description><link>https://forum.cloudron.io/post/80965</link><guid isPermaLink="true">https://forum.cloudron.io/post/80965</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 12 Jan 2024 13:54:38 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot read properties of undefined (reading &#x27;sort&#x27;) on Fri, 12 Jan 2024 12:48:05 GMT]]></title><description><![CDATA[<p dir="auto">This indeed seems like a bug then. Can you send a mail to <a href="mailto:support@cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">support@cloudron.io</a>? I think we have to debug this directly.</p>
]]></description><link>https://forum.cloudron.io/post/80962</link><guid isPermaLink="true">https://forum.cloudron.io/post/80962</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 12 Jan 2024 12:48:05 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot read properties of undefined (reading &#x27;sort&#x27;) on Thu, 11 Jan 2024 23:30:16 GMT]]></title><description><![CDATA[<p dir="auto">Ah yes, good spot! Changed!</p>
<p dir="auto">v: 7.5.2`</p>
<pre><code>at add (/home/yellowtent/box/src/routes/domains.js:58:37)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
</code></pre>
]]></description><link>https://forum.cloudron.io/post/80945</link><guid isPermaLink="true">https://forum.cloudron.io/post/80945</guid><dc:creator><![CDATA[eddowding]]></dc:creator><pubDate>Thu, 11 Jan 2024 23:30:16 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot read properties of undefined (reading &#x27;sort&#x27;) on Thu, 11 Jan 2024 10:00:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eddowding" aria-label="Profile: eddowding">@<bdi>eddowding</bdi></a> might be a good idea to revoke that global API key since it's readable even if cropped.</p>
<p dir="auto">Can you check <code>/home/yellowtent/platformdata/logs/box.log</code> ? that should have a full backtrace of the error. Can you also tell me the version of Cloudron you are using?</p>
]]></description><link>https://forum.cloudron.io/post/80899</link><guid isPermaLink="true">https://forum.cloudron.io/post/80899</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 11 Jan 2024 10:00:58 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot read properties of undefined (reading &#x27;sort&#x27;) on Wed, 10 Jan 2024 16:54:10 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1704905647868-81e862d1-0650-48c3-8669-5cc4be391b7c-cleanshot-2024-01-10-at-16.53.58-resized.png" alt="CleanShot 2024-01-10 at 16.53.58.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/80867</link><guid isPermaLink="true">https://forum.cloudron.io/post/80867</guid><dc:creator><![CDATA[eddowding]]></dc:creator><pubDate>Wed, 10 Jan 2024 16:54:10 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot read properties of undefined (reading &#x27;sort&#x27;) on Wed, 10 Jan 2024 13:35:14 GMT]]></title><description><![CDATA[<p dir="auto">Where do you see this error? Screenshot or logs?</p>
]]></description><link>https://forum.cloudron.io/post/80848</link><guid isPermaLink="true">https://forum.cloudron.io/post/80848</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 10 Jan 2024 13:35:14 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot read properties of undefined (reading &#x27;sort&#x27;) on Wed, 10 Jan 2024 12:29:06 GMT]]></title><description><![CDATA[<p dir="auto">Maybe this is related to <a href="https://forum.cloudron.io/topic/10808/support-for-co-uk-namecheap-domain?_=1704889651548">https://forum.cloudron.io/topic/10808/support-for-co-uk-namecheap-domain?_=1704889651548</a></p>
]]></description><link>https://forum.cloudron.io/post/80846</link><guid isPermaLink="true">https://forum.cloudron.io/post/80846</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 10 Jan 2024 12:29:06 GMT</pubDate></item></channel></rss>