From my professional experience I always knew that hardware vendors are always looking for opportunity to point fingers to someone else. Same happens to software developers.

Last month I’ve upgraded WordPress to the latest release and updated all plugins as well, everything went fine except a plugin that crossposts to LiveJournal – ljxp. After activation, blog stopped working with weird error … the only solution to get it up again was to disable LJXP.

Latest version of plugin didn’t solve the problem, so I decided to ask plugin author to have a look at it. As I expected, he quickly decided that it is a fault of another plugin that I’m using (Gengo – multilanguage support).

After some research and reading WP plugin writing guides, problem was fixed.

So, if you activated LJXP and have a error similar to this:

Fatal error: Call to undefined function get_currentuserinfo()
in /home/mynekor4/public_html/yk/blog/wp-content/plugins/gengo/gengo.php
on line 1555

then replace the following line (in ljxp_crosspost.php)



function ljxp_init ()
add_action(’init’, ‘ljxp_init’);

It looks like LJXP calls load_plugin_textdomain too early, it should be called from the INIT hook.

Did you like this article? Spread the Word - Bookmark and Share!