Title: Cross-Posting Error
Last modified: August 20, 2016

---

# Cross-Posting Error

 *  Resolved [rlaflamme](https://wordpress.org/support/users/rlaflamme/)
 * (@rlaflamme)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cross-posting-error/)
 * Hi there,
 * I’m likely doing something wrong here when attempting to set up cross-posting.
   I have enabled the admins group on PHPBB to have posting rights to a specific
   forum.
 * I then went and activated the Cross-posting feature in WordPress. I am not doing
   user integration, however. I prefer to keep the user groups separate.
 * Now with that part of the plugin activated, whenever I post or update a new or
   existing post, I get the following error:
 *     ```
       Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'WPU_Plugin_XPosting' does not have a method 'just_editing_post' in /wp-includes/plugin.php on line 406
   
       Warning: Cannot modify header information - headers already sent by (output started at /wp-includes/plugin.php:406) in /wp-includes/pluggable.php on line 876
       ```
   
 * The post does update and/or post in WordPress, but there is no posting that happens
   on PHPBB.
 * I’m clearly missing something here…
 * [http://wordpress.org/extend/plugins/wp-united/](http://wordpress.org/extend/plugins/wp-united/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [jhong](https://wordpress.org/support/users/jhong/)
 * (@jhong)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cross-posting-error/#post-3434823)
 * Hi, that’s just a warning that shouldn’t have any impact and won’t appear with
   WP_DEBUG off. It was an oversight on my part, and should be fixed in the version
   I just released (v0.9.2.4).
 * Note that cross-posting requires user integration to be enabled (it’s under the
   user integration tab) and the person publishing will need to be integrated so
   that wp-united can check their permission to post to that forum in phpBB.
 *  Thread Starter [rlaflamme](https://wordpress.org/support/users/rlaflamme/)
 * (@rlaflamme)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cross-posting-error/#post-3434865)
 * Thanks! I will give .924 a try and let you know!
 *  Thread Starter [rlaflamme](https://wordpress.org/support/users/rlaflamme/)
 * (@rlaflamme)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cross-posting-error/#post-3434887)
 * Ok, so we’re on the right track here. The latest build did fix the code errors.
 * I now integrated a user, and the post when created does appear to cross-post 
   to the specified forum. However, it is showing up as needing moderation. The 
   test user I’m using on PHPBB is an admin that has has full rights across the 
   board for the specified forum (including the WP-United “can post” and “can reply
   to cross posts” for the forum settings for that user. I even tried globally enabling
   the option for post as author as well. However, it is still putting the posts
   in a pending state…
 *  Plugin Author [jhong](https://wordpress.org/support/users/jhong/)
 * (@jhong)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cross-posting-error/#post-3434971)
 * Hi,
 * this usually indicates that the user is not logged in and recognised by phpBB
   at the time of the cross-post. This could be down to incorrect server/cookie 
   settings, or the user not being properly integrated.
 * if you turn on WPU_DEBUG in wp-united’s options.php, you’ll get a box at the 
   bottom of the page telling you if the user is integrated and if they were logged
   in. This should help you find the issue.
 *  Thread Starter [rlaflamme](https://wordpress.org/support/users/rlaflamme/)
 * (@rlaflamme)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cross-posting-error/#post-3434995)
 * Yeah, perhaps I am missing something here. The debug shows the following:
 *     ```
       DEBUG
       WP Version = 3.5
       Integrate users hook called.
       User integration active.
       WP already logged in, phpBB logged out.
       Logging in to integrated phpBB account, user ID = 2.
       HAHAHA
       Established Session for user 2.
       ```
   
 * The debug seems to say they are connected, no?
 *  Plugin Author [jhong](https://wordpress.org/support/users/jhong/)
 * (@jhong)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cross-posting-error/#post-3435026)
 * Yes — seems I need to remove my “HAHAHA” there too, that’s shouldn’t be in the
   release!
 * Sorry for the delay, I’ve been on holiday.
 * The user seems to be logged in OK, assuming that is appearing on the WP posting
   page.
 * They have the cross-posting permissions OK too — otherwise they wouldn’t get 
   the option to post.
 * Is the user able to post normal topics to that forum without being moderated 
   too? I assume so, since they appear to be “admin”.
 * For the debug message, does it ever change? i.e. does it ever detect that phpBB
   is “already logged in”? It shouldn’t have to log you in on every page load. If
   not, please check your cookie domain and path settings in the phpBB ACP — they
   should cover your whole site, not just the phpBB portion.
 *  Thread Starter [rlaflamme](https://wordpress.org/support/users/rlaflamme/)
 * (@rlaflamme)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cross-posting-error/#post-3435042)
 * Sorry for the delay on my end this time.
 * Yes, the admin account can post directly without any issue.
 * The debug message doesn’t change from what I can see.
 * The ACP settings seemed to be the culprit. I have two forums on my domain: the
   real one, and a sandbox for testing things like these plugins. The path and cookies
   were set to the domain instead of the direct IP address for the dev one and I
   corrected that. It can now cross-post successfully.
 * Thanks for the assist. You can go close this out.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Cross-Posting Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-united_5976ab.svg)
 * [WP-United : phpBB WordPress Integration](https://wordpress.org/plugins/wp-united/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-united/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-united/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-united/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-united/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-united/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [rlaflamme](https://wordpress.org/support/users/rlaflamme/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/cross-posting-error/#post-3435042)
 * Status: resolved