Title: Possible PHP 8 issue
Last modified: February 3, 2021

---

# Possible PHP 8 issue

 *  Resolved [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/possible-php-8-issue/)
 * Just wanted to report this. Have been testing PHP 8 and since gone back to 7.4
   as i’ve had a few issues with various things.
 * I caught this in my debug.log though I didn’t see anything on the front end, 
   I was working on something else entirely.
 *     ```
       [02-Feb-2021 13:55:17 UTC] PHP Deprecated:  Required parameter $rating follows optional parameter $data in .../wp-content/plugins/wordpress-popular-posts/src/Output.php on line 789
       [02-Feb-2021 13:55:17 UTC] PHP Deprecated:  Required parameter $themer follows optional parameter $public_options in .../wp-content/plugins/wordpress-popular-posts/src/Output.php on line 88
       [02-Feb-2021 13:55:17 UTC] PHP Deprecated:  Required parameter $rating follows optional parameter $data in .../wp-content/plugins/wordpress-popular-posts/src/Output.php on line 789
       [02-Feb-2021 13:55:17 UTC] PHP Deprecated:  Required parameter $translate follows optional parameter $public_options in .../wp-content/plugins/wordpress-popular-posts/src/Output.php on line 88
       [02-Feb-2021 13:55:17 UTC] PHP Deprecated:  Required parameter $themer follows optional parameter $public_options in .../wp-content/plugins/wordpress-popular-posts/src/Output.php on line 88
       [02-Feb-2021 13:55:17 UTC] PHP Deprecated:  Required parameter $rating follows optional parameter $data in .../wp-content/plugins/wordpress-popular-posts/src/Output.php on line 789
       ```
   

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

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/possible-php-8-issue/#post-13998044)
 * Hi [@outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/),
 * Thanks for the heads up! Someone else had reported this before as well but I 
   can’t remember where.
 * I looked into it and I think I have a potential fix ready, just haven’t had the
   chance to set up a Docker container to fully test WPP under PHP 8 yet.
 * I’ll leave a comment here (and possibly push a new update too) once I’m done 
   testing.
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/possible-php-8-issue/#post-14016550)
 * Hey there!
 * Just so you and anybody else reading this know: [Improves compatibility with PHP 8](https://github.com/cabrerahector/wordpress-popular-posts/commit/0a9f0d1919c44db1a3cf8d634d1a50dabf4196b2).
 * There are still a few things I want to work on so this fix won’t make it to the
   WP repository just yet but thought you may want to know.
 *  [Sean](https://wordpress.org/support/users/sean-h/)
 * (@sean-h)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/possible-php-8-issue/#post-14050896)
 * If I may chime in here. I’m running WPP on 2 sites using Siteground’s Ultra Fast
   php 8.0.2, so far so good.
 * Here is one such live site, [https://www.thetastychilli.com](https://www.thetastychilli.com),
   but I’m still monitoring, so first sign of trouble anywhere I may have to revert
   to 7.4

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

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

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

 * [php 8](https://wordpress.org/support/topic-tag/php-8/)

 * 3 replies
 * 3 participants
 * Last reply from: [Sean](https://wordpress.org/support/users/sean-h/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/possible-php-8-issue/#post-14050896)
 * Status: resolved