Title: Errors with PHP&#8230;.It&#039;s complicated&#8230; PHP For Dummies
Last modified: August 21, 2016

---

# Errors with PHP….It's complicated… PHP For Dummies

 *  Resolved [blondijen](https://wordpress.org/support/users/blondijen/)
 * (@blondijen)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-with-phpits-complicated-php-for-dummies/)
 * Hello,
 * I am a natural blond, so good luck helping me. 🙂
 * I have domain XYZ.ca registered with a small company in Canada.
 * I have hosting plan ABC.com and wordpress is installed at ABC.com/wordpress on
   GoDaddy.
 * I have pointed domain nameservers to GoDaddy hosting plan. I have forwarded XYZ.
   ca with masking. Now XYZ.ca is showing the wordpress home page, but when I click
   the other pages/posts the masking disappears and you see the ABC.com/wordpress
   domain in the address bar.
 * So I found your plugin after looking around Google for hours. I installed it.
 * domain_mapping.php to wordpress/wp-content/mu-plugins
    sunrise.php to wordpress/
   wp-content
 * I updated my wp-config.php above the end and it says:
 * /** Allow MultiSite Word Press */
 * define( ‘SUNRISE’, ‘on’ );
 * /* That’s all, stop editing! Happy blogging. */
 * And then I got an error and had to revert back to old config file.
 * I read all these tips on your support page and checked:
    wordpress/wp-content/
   sunrise.php and have an error Fatal error: Call to undefined method stdClass::
   escape() in (edited for privacy)/html/wordpress/wp-content/sunrise.php on line
   11
 * Not sure what to do now. Please help?
 * Thanks in advance!
 * [http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/](http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [blondijen](https://wordpress.org/support/users/blondijen/)
 * (@blondijen)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-with-phpits-complicated-php-for-dummies/#post-3684788)
 * Figured it out. Sorry for the bother!

Viewing 1 replies (of 1 total)

The topic ‘Errors with PHP….It's complicated… PHP For Dummies’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-mu-domain-mapping.svg)
 * [WordPress MU Domain Mapping](https://wordpress.org/plugins/wordpress-mu-domain-mapping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-mu-domain-mapping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 1 reply
 * 1 participant
 * Last reply from: [blondijen](https://wordpress.org/support/users/blondijen/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/errors-with-phpits-complicated-php-for-dummies/#post-3684788)
 * Status: resolved