WordPress.org

Forums

WTI Like Post
[resolved] PHP Fatal error: Call to undefined function getwtilastvoteddate() (8 posts)

  1. Paul Thomson
    Member
    Posted 1 year ago #

    Hello,

    Firstly, great plugin, thanks for taking the time to develop it. I'm trying to iron out a small bug before potentially upgrading to pro but stuck on the one below. Could you please help/patch the plugin?

    I'm using the latest version of your plugin.

    Regards,
    Paul

    ---

    014/01/25 11:42:10 [error] 5554#0: *23691 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function getwtilastvoteddate() in /XXXXX/wp-content/plugins/wti-like-post/wti_like_post_ajax.php on line 42" while reading response header from upstream, client: 66.249.73.190, server: XXXXX.com, request: "GET /wp-admin/admin-ajax.php?action=wti_like_post_process_vote&task=like&post_id=403&nonce=9f514dac19 HTTP/1.1", upstream: "fastcgi://unix:/dev/shm/php-fpm-www.sock:", host: "www.XXXXX.com"

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

  2. webtechideas
    Member
    Plugin Author

    Posted 1 year ago #

    As a quick fix, please move the following 2 function definitions from wti_like_post_site.php file to wti_like_post.php

    - GetWtiLastVotedDate
    - GetWtiNextVoteDate

    This should solve the issue. Please let me know if there is still any problem. I will soon be releasing a new version with this fix.

    Thanks

  3. Paul Thomson
    Member
    Posted 1 year ago #

    Thanks for the quick response.

    I'll try that shortly. Do you have an ETA for the next release (roughly)?

    Thanks,
    Paul

  4. webtechideas
    Member
    Plugin Author

    Posted 1 year ago #

    Max 3-4 days.

  5. Paul Thomson
    Member
    Posted 1 year ago #

    Excellent news. I'll wait for the update.

    It's good to see active developers in the community. - Donation coming shortly...

    Paul

  6. webtechideas
    Member
    Plugin Author

    Posted 1 year ago #

    Just an update. We have come across another issue and currently investigating into that. So there is delay in releasing the new version. We want to have this fix also included along with the above one.

    Thanks

  7. webtechideas
    Member
    Plugin Author

    Posted 1 year ago #

    The new version with the fix has been released.

  8. Paul Thomson
    Member
    Posted 1 year ago #

    Great.

    Thanks for this!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WTI Like Post
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.