WordPress.org

Ready to get started?Download WordPress

Forums

Event Organiser
[resolved] error in 'taxonomy-event-venue.php' with breadcrumb navxt plugin (3 posts)

  1. onafe
    Member
    Posted 1 year ago #

    hello stephenh1988,
    very useful plugin, thanks,
    I get an error message 'taxonomy-event-venue.php':
    Warning: Missing argument 2 for eventorganiser_update_venue_meta_cache () in ... / wp-content/plugins/event-organiser/includes/event-organiser-cpt.php on line 607
    in the breadcrumb (plugin breadcrumb navxt)
    I'm not a programmer, can you help me?

    PS: it would be useful to have in the template 'single-event.php' the 'nav-single' between the events sorted by event start date instead of the post id.

    Thank you very much, look your feedback

    http://wordpress.org/extend/plugins/event-organiser/

  2. Stephen Harris
    Member
    Plugin Author

    Posted 1 year ago #

    Hi onafe,

    I've not be able to confirm this yet - but if I'm right - it's in fact a bug with the breadcrumb plug-in. I've noticed in breadcrumb_navxt_class.php they have

    //Run through a filter for good measure
    $term->name = apply_filters("get_$taxonomy", $term->name)

    That is an incorrect use of the filter (its often best to avoid manually calling core filters anyway): term names can be common across taxonomies, so the taxonomy of the term should also be passed as a second argument (see https://github.com/WordPress/WordPress/blob/3.4.2/wp-includes/taxonomy.php#L879).

    That said, I can adapt EO so that it 'fails silently'. Note while the above would cause the error, I've just glanced through source quickly, so there could be other causes too.

    You should contact the plug-in authors and ask them to fix this.

    Regarding the feature request - there is no nav-single provided by default... or is that what you're requesting :)

  3. Stephen Harris
    Member
    Plugin Author

    Posted 1 year ago #

    For anyone else having this problem (and you have navXT) the thread for this bug can be found here: http://wordpress.org/support/topic/taxonomy-issue?replies=3

    If you *don't* have navXT installed, then it could be another plug-in doing something differently. You can check by deactivating your plug-ins and seeing if the problem persists.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.