• Resolved owengreaves

    (@owengreaves)


    Getting this on a the main RSVP page:

    Warning: Illegal string offset ‘hideauthor’ in /home/tyandang/public_html/wp-content/plugins/rsvpmaker/rsvpmaker-display.php on line 508

    Any ideas, it’s in regards to hide author : ) I can’t find a setting to turn or find author on and off…

    Thanks for any input.

    Owen Greaves

    https://www.ads-software.com/plugins/rsvpmaker/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author davidfcarr

    (@davidfcarr)

    I’m guessing this is on a site where you have debugging turned on in your wp-config.php file, maybe for testing or staging something. That’s usually where these fussy PHP errors crop up. I do my testing with that configuration, so it’s funny I haven’t seen that one.

    I will include a correction in the next release, but meanwhile you can make this change to that line from this

    if(!$atts[“hideauthor”])

    to this

    if(!isset($atts[“hideauthor”]) || !$atts[“hideauthor”])

    BTW, this parameter is one of the attributes you can set on the [rsvpmaker_upcoming} shortcode if you don’t want the author of an event post to be displayed. PHP is objecting to me testing whether that parameter is set to true before testing whether it is set, period.

    Plugin Author davidfcarr

    (@davidfcarr)

    This is fixed in the latest release. It only seemed to be a problem with certain configurations, but the code change should fix it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting an Error on rsvpmaker-display.php line 508’ is closed to new replies.