stayallive / wp-sentry

A (unofficial) WordPress plugin reporting PHP and JavaScript errors to Sentry.
https://wordpress.org/plugins/wp-sentry-integration/
MIT License
308 stars 48 forks source link

3.4.6: PHP Deprecated (Suppressed) The option "project_root" is deprecated. Please use the "in_app_include" option instead. #51

Closed lkraav closed 4 years ago

lkraav commented 4 years ago

Can we get rid of project_root?

Traceback:

wp-content/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/Options.php:705
    Sentry\Options->Sentry\{closure}()
    wp-content/plugins/wp-sentry-integration/build/vendor/symfony/options-resolver/OptionsResolver.php:705
    WPSentry\S\S\C\O\OptionsResolver->offsetGet()
    wp-content/plugins/wp-sentry-integration/build/vendor/symfony/options-resolver/OptionsResolver.php:584
    WPSentry\S\S\C\O\OptionsResolver->resolve()
    wp-content/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/Options.php:62
    Sentry\Options->__construct()
    wp-content/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/ClientBuilder.php:94
    Sentry\ClientBuilder::create()
    wp-content/plugins/wp-sentry-integration/src/class-wp-sentry-php-tracker.php:152
    WP_Sentry_Php_Tracker->initializeClient()
    wp-content/plugins/wp-sentry-integration/src/class-wp-sentry-php-tracker.php:67
    WP_Sentry_Php_Tracker->on_after_setup_theme()
    wp-includes/class-wp-hook.php:287
    do_action('after_setup_theme')
    wp-settings.php:524
stayallive commented 4 years ago

Merged this with #52.