My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 40: Wordpress 2.5 - causes "fatal error" when attempt to activate
4 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  freeatne...@gmail.com
Closed:  Apr 2008
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by are.you.human, Mar 27, 2008
Running Wordpress 2.5 RC2 (NOT the life install :)) - what happens is, I 
guess, that LJXP tries to create an entry on the options page as with 
WordPress 2.X so far. WP 2.5 doesn't have an "options" page anymore(but 
"settings").

Hoping that this isn't a major headache to fix! :/
Comment 1 by dangarion, Mar 29, 2008
This same issue happened in 2.3.3.  I don't think the author is updating this
anymore.  The plugin is very touchy from my experiences.  I had issues with
deactivating it and reactivating it and making any changes within the options menu. 
So what I ended up doing was just never deactivating it when I updated to new
versions of WP.  Good luck.  I can vouch that the plugin does work in 2.5, but there
are various issues if you de/re-activating, or making changes.  I did all my changes
within phpmysqladmin.
Comment 3 by are.you.human, Mar 29, 2008
Hi. Thanks for the message. I only start using WP myself now, so generally I'd 
prefer going in with WP 2.5 (once it is released as stable that is) ... I am working 
on theming with that in mind.

Still, I'll try to see if I can make it work well enough - any hints/tips on what to 
look for php wise? 

-C.

Comment 4 by phazeman, Mar 29, 2008
WP 2.5 (Release)
same issue. it won't activate at all with "Plugin could not be activated because it
triggered a fatal error." message. Did anyone solve it and can share the fix ?
Comment 5 by phazeman, Mar 29, 2008
I managed to activate it by commentig out this section:
if(version_compare($wp_version, "2.1", "<")) {
      require_once(ABSPATH . '/wp-includes/template-functions-links.php');
}
i've read that this file is no longer a part of worpress


Comment 6 by jennbasta, Mar 29, 2008
Thanks to phazeman this plugin now works for me.

I just added two //  marks in front of the lines he specified and the plugin activated.

Thanks phazeman
Comment 7 by destructivedonut, Mar 29, 2008
Thank you soooo much for updating us on this. I don't know what I'd do without my LJ 
Crossposter. =D

(Or the pretty new 2.5 either)
Comment 8 by LindseyEHardegree, Mar 29, 2008
Thank you so very much!!!  I manage blogs for 2 of my friends that use this plugin -
they will both be THRILLED that they haven't lost this functionality!
Comment 9 by tarachan, Mar 29, 2008
The weird thing is, even though I took out those few lines . . . when I wrote a new
entry, it gives me some fatal error again.  My blog entry shows up on my site, but it
will not crosspost to LJ.
Comment 10 by shellygrrl, Mar 29, 2008
I have a fix for 2.5!

Replace this...

if(version_compare($wp_version, "2.1", "<")) {
      require_once(ABSPATH . '/wp-includes/template-functions-links.php');
}

With this...

if(version_compare($wp_version, "2.1", "<")) {
      require_once(ABSPATH . '/wp-includes/link-template.php');
}
Comment 11 by shellygrrl, Mar 29, 2008
Oops, here's what you replace it with...

if(version_compare($wp_version, "2.3", "<")) {
	require_once(ABSPATH . '/wp-includes/link-template.php');
}
Comment 12 by bradhart1974, Mar 30, 2008
thanks for the fix works very well, has anyone had problems with stick post plugins?
Comment 13 by geoffrey.golden, Mar 31, 2008
i was having this problem too.  i made the fix and the plugin activated, but i'm
still having trouble.

when i try to publish an entry immediately, i get a "date out of order" error,
similar to the one LJ gives, but in wordpress.  when i publish a little into the
future, it just doesn't sync at all.  

i never used to have this problem when publishing.  anyone know what i'm doing wrong?
Comment 14 by elaine.normandy, Apr 06, 2008
phazeman's instructions worked for me.
Comment 15 by storytelleremily, Apr 06, 2008
Neither fix has worked for me.  They both give me this error:

Fatal error: Cannot instantiate non-existent class: ixr_client [server info redacted]
Comment 16 by executiv...@lpmediaglobal.com, Apr 17, 2008
Thank you so much...  This fix helped to fix the plug in for all of our blogs at
www.livingplush.com.  

LP Kisses and Hugs :-D
Comment 17 by vearlen, Apr 18, 2008
Thanks A lot, shellygrrl advice helped.
Comment 18 by mandelion, Apr 23, 2008
Thanks so much - I used Phazeman's fix of commenting out (adding the // to each line
of that code) and it worked!
Comment 19 by Slamlander, Apr 28, 2008
Do we need to get someone else to take over maintenance responsibility for this code?
Comment 20 by are.you.human, Apr 28, 2008
Well - there hasn't been any update/development in about a year ... so maybe, yes? 

I for once would love to see more features added (but am not a coder :) ) - like ... 
using WP tags rather than categories for LJ tags, possibility to select which 
journal/lj-community to post to, etc.

-C.
Comment 21 by beastriker, Apr 29, 2008
hmm.. getting some write_nested_categories() missing function error, whathat?
Comment 22 by freeatne...@gmail.com, Apr 29, 2008
The plugin works with WP 2.5.1 as of version 2.0.5, hence it should work fine with 2.5
Status: Fixed
Owner: freeat...@freeatnet.com
Comment 24 by Slamlander, Apr 29, 2008
Not fixed! Changing LJXP settings results in
  "Something went wrong - 302 : Client error: Can't edit post from requested journal"

Comment 25 by freeatne...@gmail.com, Apr 29, 2008
Slamlander, this is not an issue of this plugin's compatibility. If you consider this
a bug, please, open a separate ticket with detailed description of the problem.
Thank you for understanding.

Note for everyone else:
This ticket's status is closed, b/c the options are displayed correctly(which was the
problem described in the first post). Any other bug should be posted separately.
Comment 26 by valska, Oct 28, 2008
Thank you shellygrrl for the fix! It works!
Sign in to add a comment

Hosted by Google Code