Support » Plugin: WP-PostRatings » Warning: gmdate() expects parameter 2 to be long

  • Resolved Chris45454

    (@chris45454)


    This is a great plugin, and probably the on star rating plugin that does what i want it it to! Thanks Lester!

    On a new website everything works fine apart from an error im getting on postratings-manager.php

    Warning: gmdate() expects parameter 2 to be long, string given in /home/websitestuff/public_html/wp-content/plugins/wp-postratings/postratings-manager.php on line 292

    Any help would be greatly appreciated!

    https://wordpress.org/plugins/wp-postratings/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Is your date and time format set in WP-Admin -> Settings -> General?

    Yup, set as:

    London
    Date format: July 11, 2014
    Time Format: 2:56pm

    Plugin Author Lester Chan

    (@gamerz)

    Does it happen all the time?

    Could you try “Delete Post Ratings Data/Logs”, under “Delete Type:” Choose Logs only and Post ID(s) set to “all”.

    This will clear the logs allowing you to start logging again. I am guessing it is corrupted data because I can’t reproduce this on my dev site that has 53k log entries.

    Looks like that fixed it!

    The logs deleted successfully, and I’m no longer getting the errors when visiting postratings-manager.php

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: gmdate() expects parameter 2 to be long’ is closed to new replies.