Support » Plugin: Calendar » [Plugin: Calendar] Cannot use $ sign

  • I searched for help on the plugin author’s forum regarding this problem and was not able to find a solution.
    The best anyone was able to offer there was to add str_replace('$','\$', stripslashes($event->event_desc)) at line 2170.

    This caused a fatal error in the php for me. I also noticed that this code is present in line 1942. I’m not sure what else to do in this situation.

    Any help would be appreciated. Thank you!

    http://wordpress.org/extend/plugins/calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • That fixes it, but there was a syntax error in your str_replace (backslash needed to be doubled up).

    str_replace('$','\\$',stripslashes($event->event_desc))

    Plugin Author Kieran O'Shea

    (@kieranoshea)

    I’ll put a fix in place for this shortly

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Calendar] Cannot use $ sign’ is closed to new replies.