Title: PHP Fatal error: Uncaught Error: Interface &#8216;Stringable&#8217; not found
Last modified: November 18, 2021

---

# PHP Fatal error: Uncaught Error: Interface ‘Stringable’ not found

 *  Resolved [Jamie Burchell](https://wordpress.org/support/users/jamieburchell/)
 * (@jamieburchell)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-interface-stringable-not-found/)
 * Just upgraded from 4.7.0 to 4.10.0 and now getting this when deploying the site:
 *     ```
       cd /var/www/vhosts/example.com/releases/154 && (./wp-cli.phar language core install en_GB)
       PHP Fatal error:  Uncaught Error: Interface 'Stringable' not found in /var/www/vhosts/example.com/releases/154/web/app/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/Dsn.php:12
       Stack trace:
       #0 phar:///var/www/vhosts/example.com/releases/154/wp-cli.phar/vendor/composer/ClassLoader.php(478): include()
       #1 phar:///var/www/vhosts/example.com/releases/154/wp-cli.phar/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/var/www/vhosts...')
       #2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Sentry\\Dsn')
       #3 /var/www/vhosts/example.com/releases/154/web/app/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/Options.php(730): spl_autoload_call('Sentry\\Dsn')
       #4 /var/www/vhosts/example.com/releases/154/web/app/plugins/wp-sentry-integration/build/vendor/symfony/options-resolver/OptionsResolver.php(822): Sentry\Options->validateDsnOption('https://ff04bcb...')
       #5 /var/www/vhosts/example.com/releases/154/web/app/plugins/wp-sentry-integration/build/vendor/symfony/o in /var/www/vhosts/example.com/releases/154/web/app/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/Dsn.php on line 12
       Fatal error: Uncaught Error: Interface 'Stringable' not found in /var/www/vhosts/example.com/releases/154/web/app/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/Dsn.php:12
       Stack trace:
       #0 phar:///var/www/vhosts/example.com/releases/154/wp-cli.phar/vendor/composer/ClassLoader.php(478): include()
       #1 phar:///var/www/vhosts/example.com/releases/154/wp-cli.phar/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/var/www/vhosts...')
       #2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Sentry\\Dsn')
       #3 /var/www/vhosts/example.com/releases/154/web/app/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/Options.php(730): spl_autoload_call('Sentry\\Dsn')
       #4 /var/www/vhosts/example.com/releases/154/web/app/plugins/wp-sentry-integration/build/vendor/symfony/options-resolver/OptionsResolver.php(822): Sentry\Options->validateDsnOption('https://ff04bcb...')
       #5 /var/www/vhosts/example.com/releases/154/web/app/plugins/wp-sentry-integration/build/vendor/symfony/o in /var/www/vhosts/example.com/releases/154/web/app/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/Dsn.php on line 12
       ```
   
 * PHP 7.4.25

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

 *  [tyler0001](https://wordpress.org/support/users/tyler0001/)
 * (@tyler0001)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-interface-stringable-not-found/#post-15083112)
 * Upgrading to version 4.10.0 also toasted my site. Thankfully the WP 5.2 error
   tool was super helpful in identifying the error.
 * Here is the error detail:
 *     ```
       An error of type E_ERROR was caused in line 12 of the file /home/xxx/domain.com/wp-content/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/Dsn.php.
       Error message: Uncaught Error: Interface 'Stringable' not found in /home/xxx/domain.com/wp-content/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/Dsn.php:12
       ```
   
 * If any others have this issue, a quick way to fix is to rename the wp-sentry-
   integration folder in wp-content/plugins or use the recovery link in the email
   from WordPress and disable the plugin.
    -  This reply was modified 4 years, 6 months ago by [tyler0001](https://wordpress.org/support/users/tyler0001/).
      Reason: updated code formatting
    -  This reply was modified 4 years, 6 months ago by [tyler0001](https://wordpress.org/support/users/tyler0001/).
      Reason: add version number
 *  [tyler0001](https://wordpress.org/support/users/tyler0001/)
 * (@tyler0001)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-interface-stringable-not-found/#post-15083120)
 * [@jamieburchell](https://wordpress.org/support/users/jamieburchell/) it looks
   like they have pushed a few updates. Version 4.10.3 is the latest now. I haven’t
   tested it yet but the version notes seem to address this issue.
 *  Plugin Author [stayallive](https://wordpress.org/support/users/stayallive/)
 * (@stayallive)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-interface-stringable-not-found/#post-15083823)
 * Hi all, sorry for the troubles. There was a autoloader issue in 4.10, but 4.10.3
   should work error free like you would expect 👌
 *  Thread Starter [Jamie Burchell](https://wordpress.org/support/users/jamieburchell/)
 * (@jamieburchell)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-interface-stringable-not-found/#post-15084182)
 * Thanks 🙂

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

The topic ‘PHP Fatal error: Uncaught Error: Interface ‘Stringable’ not found’ is
closed to new replies.

 * ![](https://ps.w.org/wp-sentry-integration/assets/icon-256x256.jpg?rev=1772463)
 * [Sentry for WordPress](https://wordpress.org/plugins/wp-sentry-integration/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-sentry-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-sentry-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-sentry-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-sentry-integration/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Jamie Burchell](https://wordpress.org/support/users/jamieburchell/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-interface-stringable-not-found/#post-15084182)
 * Status: resolved