Title: PHP 8 deprecation errors
Last modified: September 22, 2022

---

# PHP 8 deprecation errors

 *  Resolved [lstreng](https://wordpress.org/support/users/lstreng/)
 * (@lstreng)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-deprecation-errors-2/)
 * Upgrading a site to PHP 8 I’ve found the following errors from the Social Media
   Share Buttons & Social Sharing Icons plugin
 *     ```
       Deprecated: Required parameter $icon follows optional parameter $url in /var/www/html/web/wp-content/plugins/ultimate-social-media-icons/libs/controllers/sfsi_socialhelper.php on line 490
   
       Deprecated: Required parameter $icon follows optional parameter $url in /var/www/html/web/wp-content/plugins/ultimate-social-media-icons/libs/controllers/sfsi_socialhelper.php on line 597
       ```
   

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

 *  [karolinauv](https://wordpress.org/support/users/karolinauv/)
 * (@karolinauv)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-deprecation-errors-2/#post-16037288)
 * Hi [@lstreng](https://wordpress.org/support/users/lstreng/), thanks for reporting
   this! We will fix the issue in the next plugin’s release. For now you can disable
   debugging by setting WP_DEBUG = 0
 *  Thread Starter [lstreng](https://wordpress.org/support/users/lstreng/)
 * (@lstreng)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-deprecation-errors-2/#post-16037846)
 * Excellent, thanks [@karolinauv](https://wordpress.org/support/users/karolinauv/).
 * There’s one more I found:
 *     ```
       Required parameter $shortcode follows optional parameter $isFloter in /var/www/html/web/wp-content/plugins/ultimate-social-media-icons/libs/sfsi_widget.php:115
       ```
   
 *  Plugin Support [Nick](https://wordpress.org/support/users/d4d5bh6/)
 * (@d4d5bh6)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-deprecation-errors-2/#post-16062846)
 * We’re aware of it and will release a new plugin version with the fix. If you 
   want to fix it immediately, either switch error reporting off, or install this
   plugin wiht the fix:
    [https://drive.google.com/file/d/1ZiNrVHhEtC_FSXbFidYRIhOYdMqFi2vH/view?usp=sharing](https://drive.google.com/file/d/1ZiNrVHhEtC_FSXbFidYRIhOYdMqFi2vH/view?usp=sharing).
 *  [karolinauv](https://wordpress.org/support/users/karolinauv/)
 * (@karolinauv)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-deprecation-errors-2/#post-16074130)
 * Hi [@lstreng](https://wordpress.org/support/users/lstreng/)! The issue has been
   fixed in the latest plugin update.
 * Please feel free to open a new topic if you have any other questions. Thank you
   🙂

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

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

 * ![](https://ps.w.org/ultimate-social-media-icons/assets/icon-128x128.gif?rev=
   2569754)
 * [Social Media Share Buttons & Social Sharing Icons](https://wordpress.org/plugins/ultimate-social-media-icons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-social-media-icons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-social-media-icons/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-social-media-icons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-social-media-icons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-social-media-icons/reviews/)

 * 4 replies
 * 5 participants
 * Last reply from: [karolinauv](https://wordpress.org/support/users/karolinauv/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-deprecation-errors-2/#post-16074130)
 * Status: resolved