• Resolved shanebp

    (@shanebp)


    If you set a time period for a second Like and try to Like again before that period is up, the ajax will spin until you leave the page due to this error:

    PHP Fatal error: Call to undefined function GetWtiLastVotedDate() in /wp-content/plugins/wti-like-post/wti_like_post_ajax.php

    http://wordpress.org/plugins/wti-like-post/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author webtechideas

    (@webtechideas)

    I am away so can not send you the corrected files. Can I expect you to help me in fixing your issue by following as below?

    – open wti_like_post_site.php file using any text editor and cut the functions GetWtiLastVotedDate and GetWtiNextVoteDate codes.
    – now open wti_like_post.php file using any text editor and paste the above 2 function codes at the end of this file.
    – save the above 2 files and upload to your server’s wti-like-post folder wherever you faced the issue.
    – now reload the site, try to revote with whatever voting period set and see if you still get the problem as you have stated above.

    Please let me know if this worked for you or not. If you want me to send the corrected files, then please give me a couple of days time. You can also contact me here http://www.webtechideas.com/contact-us/ so that I can send you the plugin directly.

    Thanks

    Thread Starter shanebp

    (@shanebp)

    Yes that works.

    Thanks for the prompt reply.

    Nice plugin.

    btw – I hacked it so that it logs user_id for each Like.
    You have a user_id field in the table, why not use it ?
    Then likes-per-user-per-post reporting is available.

    Plugin Author webtechideas

    (@webtechideas)

    Good to know that worked. User specific functionalities are available in the pro version. So even the user id field is present in the lite version, it’s still not used.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘fatal error’ is closed to new replies.