WordPress.org

Ready to get started?Download WordPress

Forums

Simple Events Calendar
[resolved] error codes instead of events (11 posts)

  1. LCW
    Member
    Posted 3 years ago #

    I get a whole line of error codes besides my event, in text.

  2. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 3 years ago #

    Hi LCW,

    I'm sorry to hear that the plugin isn't working properly for you. There could be a conflict with the theme you're using or with another plugin. Would you be able to copy the error message you're seeing?

    There might be an easy fix for this.

    Thanks!

    Jerry

  3. LCW
    Member
    Posted 3 years ago #

    Hi Jerry,
    This is the message.

    Warning: Invalid CRT parameters detected in C:\domains\wwla.nl\wwwroot\wp-content\plugins\simple-events-calendar\simple-events-calendar.php on line 704

    Warning: Invalid CRT parameters detected in C:\domains\wwla.nl\wwwroot\wp-content\plugins\simple-events-calendar\simple-events-calendar.php on line 704

    Warning: Invalid CRT parameters detected in C:\domains\wwla.nl\wwwroot\wp-content\plugins\simple-events-calendar\simple-events-calendar.php on line 704

    Warning: Invalid CRT parameters detected in C:\domains\wwla.nl\wwwroot\wp-content\plugins\simple-events-calendar\simple-events-calendar.php on line 704

    Warning: Invalid CRT parameters detected in C:\domains\wwla.nl\wwwroot\wp-content\plugins\simple-events-calendar\simple-events-calendar.php on line 704

    Warning: Invalid CRT parameters detected in C:\domains\wwla.nl\wwwroot\wp-content\plugins\simple-events-calendar\simple-events-calendar.php on line 705

    Warning: Invalid CRT parameters detected in C:\domains\wwla.nl\wwwroot\wp-content\plugins\simple-events-calendar\simple-events-calendar.php on line 705

    Warning: Invalid CRT parameters detected in C:\domains\wwla.nl\wwwroot\wp-content\plugins\simple-events-calendar\simple-events-calendar.php on line 705

    Warning: Invalid CRT parameters detected in C:\domains\wwla.nl\wwwroot\wp-content\plugins\simple-events-calendar\simple-events-calendar.php on line 705

    Warning: Invalid CRT parameters detected in C:\domains\wwla.nl\wwwroot\wp-content\plugins\simple-events-calendar\simple-events-calendar.php on line 705

    It shows up exactly like this.

  4. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 3 years ago #

    Hi LCW,

    Thanks for adding the error codes. The problem occurs because of a php function called strftime(). This function is responsible for the time/date output. The error codes you're seeing appear when it's used on a Windows system, and seeing that you're running your website locally, this is probably te case. If you would host it on a webserver, it's likely to run on Linux in which case you wouldn't have this issue.

    If you're comfortable with editing code, you could go into simple-events-calenar.php and change %e to %#d (all 10 instances), that should fix it. In that case, remember to re-download and install the original plugin when you're moving your website online.

    Hope this works for you. If you need any help, let me know.

    Jerry

  5. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 3 years ago #

    Hi LCW,

    I've just been working on the code and a new update of the plugin should be live anytime soon. This should fix the issue completely (no need to edit the code anymore).

    Would you be able to test it and let me know if it's working now?

    The new version is 1.2.2

    Many thanks!

    Jerry

  6. LCW
    Member
    Posted 3 years ago #

    Hi Jerry,

    How good of you to come up with a fix.
    It works.

    Regards
    LCW

  7. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 3 years ago #

    Fantastic, thanks for letting me know! :)

    Would you be able to change your rating for the plugin the click the Works button?

    Many thanks!

    Jerry

  8. LCW
    Member
    Posted 3 years ago #

    I will.
    regards
    LCW

  9. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 3 years ago #

    Super! Dank je wel!

    Gr Jerry

  10. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 3 years ago #

    Hi LCW,

    It would be great if you could adjust your rating if you're happy with the plugin.

    Thanks!

    Jerry

  11. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 3 years ago #

    Hi LCW,

    I think you've just ranked and updated the status of the wrong plugin. I saw your comment on the Simple Upcoming Events plugin and this is the Simple Events Calendar...

    Cheers!

    Jerry

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic