WordPress.org

Ready to get started?Download WordPress

Forums

WP Publication Archive
[resolved] Interference with All-in-One Event Calendar (3 posts)

  1. Julian
    Member
    Posted 1 year ago #

    Hi:

    When I view the event calendar in All in One Event Calendar I receive this message: Warning: Missing argument 2 for WP_Publication_Archive::the_title() in /home/stleos/public_html/wp-content/plugins/wp-publication-archive/lib/class.wp-publication-archive.php on line 669 I remember when I installed WP Publication Archive for the first time I had to comment out some code or comment out code in class.wp-publication-archive.php. What should I comment out or remove in this version to get it to display correctly.

    The site is churchofstleothegreat.org

    Thanks!

    http://wordpress.org/extend/plugins/wp-publication-archive/

  2. Eric Mann
    Member
    Plugin Author

    Posted 1 year ago #

    Julian,

    This is a problem where All-in-One Event Calendar is firing a core WordPress hook, but passing the wrong number of parameters. WordPress normally passes two parameters when it calls apply_filters() on the post title. I'm depending on that for filtering within WP Publication Archive.

    To make things a bit more robust, though, I've just changed my filter to gracefully skip over things in case the second argument is not applied. Please update to version 2.5.1 and it should fix the problem.

    Merry Christmas!

  3. Julian
    Member
    Posted 1 year ago #

    Thanks Eric for your prompt reply! It seems to be working great. Hope you had a great Christmas!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.