Domain Mapping Plugin Domain Resolve Question

Hey guys, need a little feedback. When our users are on a non-domain mapped blog such as and they create pages or posts with images, those images are stored as or similar.

The issue is that when the user maps the blog to their personal domain, the images no longer work. While domain mapping works and the user can use their personal domain that is mapped to us, It turns out that if I attempt to navigate to the original sub-domain URL such as, it does not resolve correctly to the mapped domain, I believe this is also the reason images are having issues as they aren't resolving correctly. When attempting to navigate to a domain such as that has been mapped to, the url goes to:

And the following error is shown:

Catchable fatal error: Object of class WP_Error could not be converted to string in /home/producti/public_html/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php on line 285

Deleting All in One SEO, simply makes the error goes away and take the user to the registration page...

Anyone have any ideas on a solution? Thanks!