WordPress.org

Support

Support » Plugins and Hacks » Event Organiser » [Resolved] error in 'taxonomy-event-venue.php' with breadcrumb navxt plugin

[Resolved] error in 'taxonomy-event-venue.php' with breadcrumb navxt plugin

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Stephen Harris

    @stephenh1988

    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 🙂

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] error in 'taxonomy-event-venue.php' with breadcrumb navxt plugin’ is closed to new replies.
Skip to toolbar