# Wordpress integration issue

**URL:** <https://meta.discourse.org/t/wordpress-integration-issue/33897>\
**Category:** WordPress\
**Created:** [September 30, 2015, 2:24am UTC](https://meta.discourse.org/t/wordpress-integration-issue/33897 "2015-09-30T02:24:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/579307_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)\
**Post date:** [September 30, 2015, 2:24am UTC](https://meta.discourse.org/t/wordpress-integration-issue/33897/1 "2015-09-30T02:24:02Z")

</div>

Hello,  
I’ve got the following error:

> Warning: First parameter must either be an object or the name of an existing class in /www/htdocs/w011e2a4/webdata/wordpress/wp-content/plugins/wp-discourse-0.6.6/lib/discourse.php on line 507

> Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w011e2a4/webdata/wordpress/wp-content/plugins/wp-discourse-0.6.6/lib/discourse.php:507) in /www/htdocs/w011e2a4/webdata/wordpress/wp-admin/post.php on line 242

> Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w011e2a4/webdata/wordpress/wp-content/plugins/wp-discourse-0.6.6/lib/discourse.php:507) in /www/htdocs/w011e2a4/webdata/wordpress/wp-includes/pluggable.php on line 1207

This happens since I’ve changed the subdomain of our WP site from sandbox._… to www._… The issue shows up when publishing a new post.

All the other sites are working probably. I didn’t notice any other issues.

The post by itself is showing this error:

> Warning: First parameter must either be an object or the name of an existing class in /www/htdocs/w011e2a4/webdata/wordpress/wp-content/plugins/wp-discourse-0.6.6/lib/discourse.php on line 507

Any clue?

---

_[View the full topic](https://meta.discourse.org/t/wordpress-integration-issue/33897)._
