Title: PHP 8 Support
Last modified: July 27, 2021

---

# PHP 8 Support

 *  [itsjohnwayne](https://wordpress.org/support/users/itsjohnwayne/)
 * (@itsjohnwayne)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-8-support-13/)
 * First of all, thank you for the simple but great plugin.
 * The plugin works perfectly on my server running PHP 7.
    However, I tested it 
   on PHP 8 and the buttons always return “0”.
 * Please let me know if it’s compatible with PHP 8.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Ricard Torres](https://wordpress.org/support/users/quicoto/)
 * (@quicoto)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-8-support-13/#post-14704315)
 * I have not looked into it. Not sure if we need to change anything for PHP 8.
 * Do you have access to logs? Do you see any error or warning?
 *  Thread Starter [itsjohnwayne](https://wordpress.org/support/users/itsjohnwayne/)
 * (@itsjohnwayne)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-8-support-13/#post-14707310)
 * Thanks for the fast response.
 * I checked my access logs, but couldn’t find any mention of the thumb rating plugin.
 * Oddly enough, displaying top ratings using the shortcode “[thumbs_rating_top]”
   works just fine.
 * However, the shortcode “[thumbs-rating-buttons]” always displays zero for both
   up and down votes.
 * If anyone else is running PHP 8 please feel free to chime in.
 * Best,
 *  Plugin Author [Ricard Torres](https://wordpress.org/support/users/quicoto/)
 * (@quicoto)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-8-support-13/#post-14707332)
 * Do you have a cache plugin installed and active on the site?
 *  Thread Starter [itsjohnwayne](https://wordpress.org/support/users/itsjohnwayne/)
 * (@itsjohnwayne)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-8-support-13/#post-14707400)
 * I use “WP Super Cache”, but I’ve tested with and without. The results are the
   same.
 * I’ll conduct a second round of testing to see if there’s any conflict with other
   plugins.
 * Best,
 *  Plugin Author [Ricard Torres](https://wordpress.org/support/users/quicoto/)
 * (@quicoto)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-8-support-13/#post-14707412)
 * Cache plugins will not work with this plugin.
 * There might be other voting plugins that works, but this one no. Because the 
   unique token that is needed for the AJAX calls to the backend get cached and 
   WordPress rejects the calls.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP 8 Support’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/thumbs-rating_d1a77d.svg)
 * [Thumbs Rating](https://wordpress.org/plugins/thumbs-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/thumbs-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/thumbs-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/thumbs-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/thumbs-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/thumbs-rating/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ricard Torres](https://wordpress.org/support/users/quicoto/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/php-8-support-13/#post-14707412)
 * Status: not resolved