WordPress.org

Forums

Events Maker by dFactory
[resolved] Lost Google maps/locations/organizer info on events (6 posts)

  1. Lynda K
    Member
    Posted 1 year ago #

    Today I updated my plug-in. I am seeing this error message on my website when I click on an event. My site is http://www.midwestcoachmen.com

    Catchable fatal error: Object of class WP_Error could not be converted to string in /usr/local/pem/vhosts/141705/webspace/siteapps/WordPress-48941/htdocs/wp-content/plugins/events-maker/includes/functions-template.php on line 196

    https://wordpress.org/plugins/events-maker/

  2. dFactory
    Member
    Plugin Author

    Posted 1 year ago #

    Lynda, try changing line 192 of functions-template.php file

    from:
    if ($tags)

    to
    if ($tags && !is_wp_error($tags))

    and please tell us if it's working now.

  3. Lynda K
    Member
    Posted 1 year ago #

    I am not sure i edited the line correctly. The entire page crashed and I received this message. Is there a way to view the line numbers?

    Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in /usr/local/pem/vhosts/141705/webspace/siteapps/WordPress-48941/htdocs/wp-content/plugins/events-maker/includes/functions-template.php on line 192

  4. dFactory
    Member
    Plugin Author

    Posted 1 year ago #

    Syntax error means that you made a mistake in the code. Please just copy and paste mentioned lines, nothing more.

    And see if it makes the difference.

  5. Lynda K
    Member
    Posted 1 year ago #

    Yes! It worked. Thank you. :-)

  6. dFactory
    Member
    Plugin Author

    Posted 1 year ago #

    Great. We'll provide a quick fix for this in next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Maker by dFactory
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic