View Full Version : Wordpress 2.6 .. any problems? anyone ?
morefodder
08-13-08, 09:54 PM
How do all,
I have just been upgrading some 2.5.1 wordpress blogs to the latest 2.6 version ( at the time of writing, but it can change on a daily basis ) and I have experienced some problems that were not there before.
Does any one else have issues regarding an intermittent error with output similar to
Fatal error: Call to a member function on a non-object in
/home/domain_removed/public_html/wp-includes/link-template.php on line 249
or even better than that, any php guru's with an idea how to fix it.
I'm no numpty when it comes to php, but this is really tickin' me off.
The only plugin I have running is the oldest to newest which ran fine up to and including 2.5.1
I have looked on google, and I have posted on the wp forums to no avail for a fix or reason.
Ta for any help, see ya'll later.
No idea mate.
Ive had NO problems at all myself. I even made a thread the other day 'singing its praises'
http://www.beerandbollocks.com/forum/showthread.php?t=19603
Sorry to hear its not so good for you though, and best of luck in finding an answer...
Infact, ask Pushcube... He usually seems to be able to help with this kinda thing :)
Cardinal_Sin
08-13-08, 10:30 PM
/home/domain_removed/public_html/............
Have never seen this before in any script malfunction - worth speaking to your server techs about?
morefodder
08-13-08, 10:34 PM
No idea mate.
Ive had NO problems at all myself. I even made a thread the other day 'singing its praises'
http://www.beerandbollocks.com/forum/showthread.php?t=19603
Sorry to hear its not so good for you though, and best of luck in finding an answer...
Infact, ask Pushcube... He usually seems to be able to help with this kinda thing :)
Thanks for that, I'll ask him.
/home/domain_removed/public_html/............
Have never seen this before in any script malfunction - worth speaking to your server techs about?
lol .. I could have left that in, but then I'd have had to kill myself .. and I've just got the seat and mirrors right in my car, so don't wanna do that.
Yeah I can help... don't upgrade :)
Pushcube
08-14-08, 01:13 AM
Sent you a PM.
A French Man
08-14-08, 01:21 AM
Sent you a PM.
Pushcube is 'Le Man'...
Scotty.T
08-14-08, 01:45 AM
Post back when you find out what it is please :)
I have a couple of blogs still on 0.71 I need to upgrade :)
Pushcube
08-14-08, 02:00 AM
I've never used Wordpress (its wow I could type a lot in here but to save time lets skip my rant...).. So I read some posts, and this is all a guess :...
Line 249 :
249 $permalink = $wp_rewrite->get_feed_permastruct();
think it's the pluggin code getting confused as to what the $wp_rewrite object is, so I called the WP config file in an include at the start of the plugin file and hope that fixes it.
morefodder
08-15-08, 12:03 AM
Many thanks to Pushcube for his quick response.
He dounds like the dogs danglies on php, but I have now been told to leave the other blogs from upgrading as they are running fine and 2.6 has no security fixes there is no rush to put it on them.
My thanks, and for anyone else who has this problem, his advice was
Anyways, this might fix the problem --->
Save a copy of the current oldest2newest.php, then open a fresh copy of oldest2newest.php and add :
if (!function_exists('add_action')) {
require_once('../../../wp-config.php');
}
to the top of the oldest2newest.php and see if that fixes it.
and then try :
http://trac.wordpress.org/browser/branches/2.6/wp-includes/link-template.php?rev=8479&format=raw
Thats the latest rev of the wp file that includes fixes for 'posting errors', make a back up of your current and overwrite with this one and it may fix the problems.
Like I said, many thanks, respect and afterlife points to him, but I cant try them out now, I've been told to leave 'em alone.
Pushcube
08-15-08, 06:12 AM
You're welcome :)
Scotty.T
08-15-08, 10:35 AM
Thanks for the info.
Before an upgrade it is probably wise to check the Plugin Compatibility (http://codex.wordpress.org/Plugins/Plugin_Compatibility/) and Theme Compatibility (http://codex.wordpress.org/Themes/Theme_Compatibility/) for the relevant versions. Might save a few headaches. Hindsight I know but worth a mention for future readers.
Incidentally, WP 2.6.1 was released last night :)
clickyoucutie
08-16-08, 07:22 AM
It has been working okay for me so far.
vBulletin v3.5.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.