Title: PHP 8 support
Last modified: March 16, 2022

---

# PHP 8 support

 *  Resolved [klivie](https://wordpress.org/support/users/klivie/)
 * (@klivie)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-8-support-28/)
 * Hi,
 * After updating our site to PHP 8 this plugin keeps erroring and stops all access
   to the website. Using plugin version 8.2.4 & WordPress version 5.9.2
 * Error output below:
 *     ```
       2022/03/16 15:21:50 [error] 8707#8707: *316484 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Unsupported operand types: array + string in {SITE_ROOT}/www/wp-content/plugins/simple-share-buttons-adder/php/class-database.php:329
       Stack trace:
       #0 {SITE_ROOT}/www/wp-content/plugins/simple-share-buttons-adder/php/class-admin-bits.php(382): SimpleShareButtonsAdder\Database->upgrade_ssba()
       #1 {SITE_ROOT}/www/wp-includes/class-wp-hook.php(305): SimpleShareButtonsAdder\Admin_Bits->ssba_menu()
       #2 {SITE_ROOT}/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
       #3 {SITE_ROOT}/www/wp-includes/plugin.php(474): WP_Hook->do_action()
       #4 {SITE_ROOT}/www/wp-admin/includes/menu.php(155): do_action()
       #5 {SITE_ROOT}/www/wp-admin/menu.php(394): require_once('...')
       #6 {SITE_ROOT}/www/wp-admin/admin.php(158): requir" while reading response header from upstream, client: 46.69.230.249, server: www.{SITE_URL}, request: "GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s= HTTP/1.1", upstream: "fastcgi://unix:/var/run/php8.0-fpm-{SITE_USER}:", host: "{SITE_URL}", referrer: "http://{SITE_URL}/wp-admin/plugins.php"
       ```
   
 * Would be great if we could get this fixed please 🙂

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

 *  Plugin Contributor [ShareThis](https://wordpress.org/support/users/sharethis/)
 * (@sharethis)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-8-support-28/#post-15481096)
 * Hi there [@klivie](https://wordpress.org/support/users/klivie/),
 * Can you tell us in what way does the plugin stops access to your site? Does it
   display a blank screen or return a page with an error message?
 * We are sorry for the inconvenience this is causing you. We have already reported
   this to our engineers so they can take a better look into it.
 *  Thread Starter [klivie](https://wordpress.org/support/users/klivie/)
 * (@klivie)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-8-support-28/#post-15496174)
 * Hi [@sharethis](https://wordpress.org/support/users/sharethis/)
 * Can’t exactly remember what error screen we were seeing, but i think it was a
   WP error screen, with the above message displayed.
 * This was causing issues for users on a live website so we’ve disabled the plugin
   to fix site access.
 * If you could let us know once an update is pushed we can re-review
 * Thanks,
    Kurt
 *  Plugin Contributor [ShareThis](https://wordpress.org/support/users/sharethis/)
 * (@sharethis)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-8-support-28/#post-15502952)
 * Hello!
 * Ok [@klivie](https://wordpress.org/support/users/klivie/), thank you for the 
   information. We will report this to our engineers and come back to you once we
   have an update on this or in case we need additional information if that’s okay
   with you.
    Thank you again!
 *  Thread Starter [klivie](https://wordpress.org/support/users/klivie/)
 * (@klivie)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-support-28/#post-15550646)
 * Hi [@sharethis](https://wordpress.org/support/users/sharethis/)
 * Is there any update on the progress of this yet?
 * Thanks!
    Kurt
 *  Plugin Contributor [ShareThis](https://wordpress.org/support/users/sharethis/)
 * (@sharethis)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-support-28/#post-15588609)
 * Hey [@klivie](https://wordpress.org/support/users/klivie/),
 * Sorry for the wait.
 * I’m happy to tell you that this issue will be fixed in an upcoming update.
 * We will keep you informed when it gets released, thank you.
 * ShareThis Technical Support team.
    -  This reply was modified 4 years, 1 month ago by [ShareThis](https://wordpress.org/support/users/sharethis/).

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

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

 * ![](https://ps.w.org/simple-share-buttons-adder/assets/icon-256x256.png?rev=2661516)
 * [Simple Share Buttons Adder](https://wordpress.org/plugins/simple-share-buttons-adder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-share-buttons-adder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-share-buttons-adder/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-share-buttons-adder/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [ShareThis](https://wordpress.org/support/users/sharethis/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-support-28/#post-15588609)
 * Status: resolved