'NoneType' object has no attribute 'domain' - Forward to Email

Marketplace CyberPanel 2.3.6 on Ubuntu 22.04 on Digital Ocean Droplet.

Current Version:  
2.4
Build:  
1
Current Commit:  
03e8bbbf54fcea4802396d2d17ea8aa3fec58e0f
Latest Version:  
2.4
Latest Build:  
1
Latest Commit:  
03e8bbbf54fcea4802396d2d17ea8aa3fec58e0f

https://domainb.com:8090/email/emailForwarding

Unable to create a forward to email address. The domains appear in the drop down list, and I can pick “Pipe to Program” and it will work just fine. If I pick “Forward to Email” then I get the error ‘NoneType’ object has no attribute ‘domain’ displayed.

I tried going into phpMyAdmin and creating a record on the e_forwardings table in the cyberpanel database to no effect.

This is an import of a cPanel export. cPanel is currently being run on an AWS EC2 server. At one point there were two domains on this server. Domain A and Domain B. cPanel was stood up with Domain A, but eventually the owner let that domain go, and Domain B became the dominant domain. So there are no Domain A email addresses, only Domain B addresses.

Testing with Domain A in the drop down will give a No email accounts exists! message since it doesn’t exist anymore.

Domain B is listed as a Sub-Domain to Domain A when looking under “List Sub/Addon Domains”.

The SSL certificate is good and reads: “[Domain] has SELF-SIGNED SSL.”

I tried creating a new email address that wasn’t imported to test with – [email protected] – to see if that would work. It didn’t as you can see in the debug logs below.

Debug logs read:

[06.09.2025_03-44-28] Request needs session : /email/fetchCurrentForwardings
[06.09.2025_03-44-28] Request method post
[06.09.2025_03-44-28] Request body detected.. scanning
[06.09.2025_03-44-28] b'{"forwardingOption":"Forward to email","emailAddress":"[email protected]"}'
[06.09.2025_03-44-28] Key being scanned forwardingOption
[06.09.2025_03-44-28] Value being scanned Forward to email
[06.09.2025_03-44-28] Key being scanned emailAddress
[06.09.2025_03-44-28] Value being scanned [email protected]

I tried converting it from a Child Domain to a Website and ended up in a loop where I would get a “Not Found” error for this directory “cat /home/cyberpanel/2544”

cat /home/cyberpanel/7047
[06.09.2025_03-47-14] Path vs the final url : /websites/installWordpressStatus
[06.09.2025_03-47-14] https://domainb.com:8090/websites/installWordpressStatus
[06.09.2025_03-47-14] Request needs session : /websites/installWordpressStatus
[06.09.2025_03-47-14] Request method post
[06.09.2025_03-47-14] Request body detected.. scanning
[06.09.2025_03-47-14] b'{"statusFile":"/home/cyberpanel/2544"}'
[06.09.2025_03-47-14] Key being scanned statusFile
[06.09.2025_03-47-14] Value being scanned /home/cyberpanel/2544
[06.09.2025_03-47-14] cat /home/cyberpanel/2544
[06.09.2025_03-47-14] Path vs the final url : /websites/listChildDomains
[06.09.2025_03-47-14] https://domainb.com:8090/websites/listChildDomains
[06.09.2025_03-47-14] Request needs session : /websites/listChildDomains
[06.09.2025_03-47-14] Request method get
[06.09.2025_03-47-14] Request does not have a body.

I have spent several hours pouring over support posts and trying suggestions, killing the import and trying again, and nothing seems to be working. I am just trying to get this site I was running for someone off of cPanel and AWS.

Thanks in advance for any suggestions that could be provided.