Title: PHP Error
Last modified: August 22, 2016

---

# PHP Error

 *  [dcassidy](https://wordpress.org/support/users/dcassidy/)
 * (@dcassidy)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/)
 * I’m getting the following error when viewing events by day (clicking the link
   in the events calendar widget takes you the the a page showing events on that
   day).
 * Catchable fatal error: Object of class WP_Error could not be converted to string
   in public_html/wp-content/plugins/event-organiser/includes/event-organiser-event-
   functions.php on line 1522
 * Any help would be much appreciated.
 * Thanks
 * [https://wordpress.org/plugins/event-organiser/](https://wordpress.org/plugins/event-organiser/)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenharris/)
 * (@stephenharris)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/#post-5862821)
 * Which version of Event Organiser are you running?
 *  Thread Starter [dcassidy](https://wordpress.org/support/users/dcassidy/)
 * (@dcassidy)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/#post-5862826)
 * Thanks for your reply. I’m running version 2.12.1 and wordpress is version 4.1.1
 * Thanks
 *  Thread Starter [dcassidy](https://wordpress.org/support/users/dcassidy/)
 * (@dcassidy)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/#post-5862840)
 * I have just deactivated your plugin and removed it. After reinstalling it works
   correctly. I guess it didn’t copy the files correctly or something.
 * All good now 🙂
 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenharris/)
 * (@stephenharris)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/#post-5862875)
 * Great :), I asked which version because that error wouldn’t make sense on that
   line in 2.12.1.
 * Glad it’s sorted.
 *  Thread Starter [dcassidy](https://wordpress.org/support/users/dcassidy/)
 * (@dcassidy)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/#post-5862885)
 * Thanks for your help with that one. On a different topic how can I display a 
   list of all the tags? I know I can use the_tags() for normal WP tags but only
   want this list to have the events tags.
 * Thanks again
 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenharris/)
 * (@stephenharris)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/#post-5862911)
 * No worries.
 * You can use `the_terms()` (taxonomy is either event-tag, event-category or event-
   venue).
 *  Thread Starter [dcassidy](https://wordpress.org/support/users/dcassidy/)
 * (@dcassidy)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/#post-5862939)
 * Thanks but this only seems to display the tag linked to an event post. I want
   to display a list of all the tags that have been created.
 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenharris/)
 * (@stephenharris)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/#post-5862941)
 * `the_tags()` would only display tags for the given post, so `the_terms()` is 
   the analogous function for that for generic taxonomy terms.
 * To get all terms in a taxonomy you can use `get_terms()` (see [codex](http://codex.wordpress.org/Function_Reference/get_terms))–
   the codex gives examples of how to list all the terms in the taxonomy.
 *  Thread Starter [dcassidy](https://wordpress.org/support/users/dcassidy/)
 * (@dcassidy)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/#post-5863010)
 * That’s great, the get_terms() works great!
 * I am having issues however viewing events by tag. After creating a tag and assigning
   events to it I try to view all the posts on the tag but keep getting the default
   wordpress not found page.
 *  Thread Starter [dcassidy](https://wordpress.org/support/users/dcassidy/)
 * (@dcassidy)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/#post-5863018)
 * Somehow I have managed to fix this by changing the the permalink setting to default
   and then back to post name. Wired!
 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenharris/)
 * (@stephenharris)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-error-125/#post-5863019)
 * Yup, sounds like the rewrite rules needed flushing. You can do that by visiting
   the permalink settings (no need to update anything).
 *  Thread Starter [dcassidy](https://wordpress.org/support/users/dcassidy/)
 * (@dcassidy)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-125/#post-5863046)
 * Okay, one more thing please.
    I am using the shortcode [eo_calendar] and users
   can successfully click on the links in there to view events on that date. But
   I need it to show events on that date and after that date. Is this something 
   that can be achieved by altering the query made?
 * Thanks again
 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenharris/)
 * (@stephenharris)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-125/#post-5863047)
 * You can use the filter `eventorganiser_calendar_event_link` (see [codex]([http://codex.wp-event-organiser.com/hook-eventorganiser_calendar_event_link.html](http://codex.wp-event-organiser.com/hook-eventorganiser_calendar_event_link.html))),
   but there isn’t a particular page that shows all events from a particular date.
 * There are event links which show events in particular year/month or on a particular
   day (see _Settings > Event Organiser > Permalinks_ ).
 * Please keep in mind the note about caching.
 *  Thread Starter [dcassidy](https://wordpress.org/support/users/dcassidy/)
 * (@dcassidy)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-125/#post-5863054)
 * That’s perfect, thanks.
 * One last thing though Please. I can successfully get the venue map to display
   using eo_get_venue_map() but I am wanting to use jquerys slideToggle function
   on the maps div and hide it when the browser loads the page. The problem is that
   when the slideToggle function is called and the map is displayed, it does not
   display correctly. I think I somehow need to reload the map at the same time 
   but not sure how I can do that?

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/event-organiser/assets/icon-256x256.png?rev=978123)
 * [Event Organiser](https://wordpress.org/plugins/event-organiser/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-organiser/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-organiser/)
 * [Active Topics](https://wordpress.org/support/plugin/event-organiser/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-organiser/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-organiser/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [dcassidy](https://wordpress.org/support/users/dcassidy/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-125/#post-5863054)
 * Status: not resolved