• Hello,

    Since the update, I’m getting an error just above the calendar should be : “Notice: Undefined variable: price in?/home/*******/public_html/wp-content/plugins/event-post/eventpost.php?on line?2173“. I don’t understand why there’s a price variable… Help !!!

    Thank you !

    • This topic was modified 1 year, 9 months ago by chapselle.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter chapselle

    (@chapselle)

    EDIT : went on FileZilla, opened eventpost.php, deleted the price variable.
    It worked but I feel like that was barbaric and ineffective when the next update comes… pov ?

    Same problem here.

    In function display_caldate() the $price variable is only set if events are there for the date and if $display or $title is true/has content.

    Possible fix would be defining the variable before that, similar to this:

    2136: if(!$display && !$nb){
    2137: 	$ret = date('j', $date);
    2138: }
          $price = ''; // Add this line
    2139: if($nb){
    2140: 	if ($display || $title) {
    Plugin Author enzomangiante

    (@enzomangiante)

    Hello, thanks for your feedback, this warning will be fixed in our next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Notice: Undefined variable: price’ is closed to new replies.