Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the copy-the-code domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
cPanel DNS Issue: cant add CNAME if TXT exists? - PC✗3
cPanel DNS Issue: cant add CNAME if TXT exists?

cPanel DNS Issue: cant add CNAME if TXT exists?

Recently encountered a weird issue with cPanel DNS Zone Editor that wasn’t mentioned anywhere on cPanel official documentation nor their forums, so I decided to write a quick guide for anyone else that might experience this issue in the future.

The problem was that cPanel was not accepting CNAME record for a subdomain with the following error message:

Error: The request failed. (Error ID: xxxxxx) Ask your hosting provider to research this error in cPanel & WHM's main error log.
Error: The request failed. (Error ID: xxxxxx) Ask your hosting provider to research this error in cPanel & WHM’s main error log.
Error: The request failed. (Error ID: xxxxxx) Ask your hosting provider to research this error in cPanel & WHM’s main error log.

As I suspected the problem was with that domain’s DNS zone and after troubleshooting the issue I noticed that the line that was causing this problem is a TXT record on that same subdomain:

line 173
line 173

After removing this TXT record from the DNS zone the CNAME could be successfully added.

Later I was also able to reproduce the issue if the domain already has a CNAME record, cPanel does not allow TXT records to be added:

Error: The request failed. (Error ID: xxxxxx) Ask your hosting provider to research this error in cPanel & WHM’s main error log.
Error: The request failed. (Error ID: xxxxxx) Ask your hosting provider to research this error in cPanel & WHM’s main error log.
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.