WordPress.org

Ready to get started?Download WordPress

Forums

Live Blogging
[resolved] Error message in blog widget while live-blogging is activate (5 posts)

  1. astera
    Member
    Posted 3 years ago #

    Hello,
    I get an error message called:
    Warning: Missing argument 2 for live_blogging_fix_title() in ....../wp-content/plugins/live-blogging/live-blogging.php on line 464

    At first I created a post, added [liveblog] and created two liveblog entrie for testing. After that I deleted the post.
    After that this error message appears.
    I looked into my sql WP-DB and fount an older entry and delete them, but nothing changed.
    I disabled this plugin now and still waiting for help.
    Are you able to help me?
    Thx in advance
    astera

    http://wordpress.org/extend/plugins/live-blogging/

  2. chrisnorthwood
    Member
    Plugin Author

    Posted 3 years ago #

    I can't quite replicate this bug. Whereabouts does the error appear?

    Chris

  3. stuartathompson
    Member
    Posted 3 years ago #

    Hi there,

    I have a similar warning:

    Warning: Missing argument 2 for live_blogging_fix_title() in /nfs/c06/h04/mnt/94481/domains/westerngazette.ca/html/wp-content/plugins/live-blogging/live-blogging.php on line 515

    I found it's conflicting with the Popular Posts plugin http://rmarsh.com/plugins/popular-posts-plugin/

    I removed the popular posts code from my template file and the error doesn't show up. The live blog worked fine the whole time.

    Any idea for solutions?

  4. chrisnorthwood
    Member
    Plugin Author

    Posted 3 years ago #

    Hi stuartathompson, thanks for linking to the plugin, I've managed to successfully track down the issue.

    I've got a fix ready to go (version 2.1.1) but unfortunately I'm on a train, and the free wi-fi blocks Subversion, so I can't release it just yet. I should have a chance to do it in the next 24 hours though.

    Techie explanation:

    Basically, plugins written for old versions of WordPress are applying the_title filter manually, and aren't applying it with the second argument (as the current versions of WordPress allow). Now, unfortunately, the functionality of that particular function requires the second argument (otherwise it'll "correct" all post types), so in such a case, the entry title isn't "corrected", and will show up nastily. This will only affect plugins which don't use the WordPress way to get the title of a post, but attempt to derive it themselves.

  5. stuartathompson
    Member
    Posted 3 years ago #

    Thanks for your attention Chris. This fixed the problem!

    This live blog plugin has been incredibly popular. They're better than live tweeting because you can post more often. Better than CoverItLive because you can link and add pics. I'm really happy with your work, so thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic