Wordpress 3.5 + Vbul Bridge || Comment posting error
Hello, first time poster unfortunately. +1 for this plugin; have been using it for a long while.
After the WP 3.5 update there seems to be an issue with posting comments on posts using the bridge. Every other feature seems to be functioning without issue though. The error given on posting a comment is as follows: Fatal error: Call to undefined method stdClass::has_cap() in pathtowordpress\wp-includes\comment.php on line 691 Not sure if anyone else has come across this. I haven't as of yet tried to fix it myself, but if I do find a solution any time soon I'll update my post. Though if anyone else has an idea of the specific cause I'm open ears as always. Cheers Edit: There was a change in the wp_allow_comment function in wp-includes/comments.php After the do_action Code:
if ( isset($user_id) && $user_id) { Code:
if ( ! empty( $user_id ) ) { |
I am having errors too. Got it working but it now won't recognise the vbulletin user being logged in and always shows the enter email etc box.
Not really sure what to check. I tried to find the code you mention but can't find it in the core WP files. |
Quote:
The line I mentioned only deals with comments, and it's in the wp-includes/comments.php file. There's only one "function wp_allow_comment", so using find you can't really miss it. There is also only one do_action inside that function too. I haven't found the fix yet but I haven't really had time to properly look due to work. I'll be trying to get a proper look in over the weekend. Your best bet for now is to revert your wp installation. |
Can't really revert it, would be way too much work. Basicaly at the stage where the site recgonises the user as logged in but the comment box at the bottom thinks they are not. Still working on it :(
|
I'm getting a blank page with this error after the upgrade to 3.5:
Fatal error: Call to undefined method stdClass::has_prop() in /home/mysite/public_html/wordpress/wp-includes/user.php on line 245 looks like it's related to the changes around $user / $userdata I'd be grateful for any tips to resolve at least some of this error - I'm not having much luck on my end so far. awesome plugin, been enjoying for a while now. |
Well I got it working eventually. Disabled the WP admin integration functionality (which I don't use anyway and as far as I know was experimental anyway) and had to mess about with it quite a bit.
If you want to try out my file drop me a PM and I will send you a link to it. |
Quote:
|
Quote:
|
Quote:
|
I am still waiting...I had to rollback to Wordpress 3.42 in the meantime.
|
Quote:
|
Let me know if this fixes the issue for you. In vbbridge.php, find this line in the function get_userdata():
PHP Code:
PHP Code:
|
All times are GMT -4. The time now is 07:08 PM. |
Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.