Forums

[Plugin: Events Calendar] 6.2 update broke call to ec_calendar.class (6 posts)

  1. atouk
    Member
    Posted 1 year ago #

    After update to 6.2, the following error appears above the calendar.

    Warning: file_get_contents() expects at most 2 parameters, 3 given in /homepages/40/d104137235/htdocs/tvo/wp-content/plugins/events-calendar/ec_calendar.class.php on line 39

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

  2. brettdorron
    Member
    Posted 1 year ago #

    I'm getting this too. I deleted one of the parameters like so:

    //$ecData = file_get_contents($ecFile, 0, null);
        $ecData = file_get_contents($ecFile, 0);
  3. ronbme
    Member
    Posted 1 year ago #

    Right. This was a major bug in ver. 6.2 because WordPress was not recognizing the default path to the stylesheet. Version 6.3 fixed this.

    Download ver. 6.3 and you should be good to go.

  4. brettdorron
    Member
    Posted 1 year ago #

    It's only 10 hours since I downloaded ver 6.2 and then I will need to go through the code to change the colours once again. I already mentioned my patience here: [Plugin: Events Calendar] Please remove css from code.

  5. snumb130
    Member
    Posted 1 year ago #

    I missed your earlier post, my apologies. I had planned on moving the scattered style from the code to the css file, but to be honest I wasn't changing anything so I didn't think about having to restyle it each time. I will do my best to get this taken care of in the next release so you will not have to do it but one more time.

  6. brettdorron
    Member
    Posted 1 year ago #

    Thanks guys. That will be awesome.

Topic Closed

This topic has been closed to new replies.

About this Topic