WordPress.org

Forums

Event Organiser
Venue address error (7 posts)

  1. stinoga
    Member
    Posted 3 years ago #

    I'm trying to set a variable for the event address in the loop, and its writing out a PHP error for each event that doesn't have an address. Is there any way around this? Does a venue have to be set for each event?

    CODE:
    $address_details = eo_get_venue_address();

    ERROR:
    [26-Mar-2012 00:35:06] PHP Fatal error: Call to a member function is_found() on a non-object in /Users/stinogler/Sites/dougWeisz/wp-content/plugins/event-organiser/includes/event-organiser-venue-functions.php on line 265
    [26-Mar-2012 00:35:20] PHP Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /Users/stinogler/Sites/dougWeisz/wp-content/themes/yoko/archive-event.php on line 77
    [26-Mar-2012 00:36:56] PHP Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /Users/stinogler/Sites/dougWeisz/wp-content/themes/yoko/archive-event.php on line 78

    Thanks!
    _Rob

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

  2. Stephen Harris
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Rob - which version of EO are you using? There is an (easily fixable) bug.

  3. stinoga
    Member
    Posted 3 years ago #

    Thanks Stephen. Updating fixed the issue for me, but oddly enough, it dropped the shows link from my menu (I renamed it to shows in the admin panel). Any ideas on that?

    Thanks again Stephen,
    _Rob

  4. Stephen Harris
    Member
    Plugin Author

    Posted 3 years ago #

    I've improved the 'add to menu' link - you can now select a menu to add it to (or use the 'fallback'). You'll have to select in the Plug-in settings which menu you want to add the link to.

    It will then create a link that is visible in the Appearance > Menu screen (which allows you to move / remove the link).

    You can also remove the link from the plugin settings page.

  5. stinoga
    Member
    Posted 3 years ago #

    Odd. I have it added to the page list (fallback), but that doesn't seem to be working, even though all of my other menu items are pages.

  6. Stephen Harris
    Member
    Plugin Author

    Posted 3 years ago #

    Sorry I forgot- my bad :S. There's a bug with the 'fallback' option. This will be fixed in 1.3.1 which I shall most likely release tomorrow.

  7. stinoga
    Member
    Posted 3 years ago #

    Awesome. I'll look for it. Thanks Stephen!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Event Organiser
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic