Closed rkaiser0324 closed 5 years ago
Note that downgrading to 2.4.7 for me via composer install
gives me a similar error:
[23-Jan-2019 01:48:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined method Rollbar\Defaults::accessToken() in /srv/www/wbu/public_html/wp-content/plugins/rollbar/src/Plugin.php:390
Stack trace:
#0 /srv/www/wbu/public_html/wp-content/plugins/rollbar/src/Plugin.php(88): Rollbar\Wordpress\Plugin->getDefaultOption('access_token')
#1 /srv/www/wbu/public_html/wp-content/plugins/rollbar/src/Plugin.php(234): Rollbar\Wordpress\Plugin->fetchSettings()
#2 /srv/www/wbu/public_html/wp-includes/class-wp-hook.php(286): Rollbar\Wordpress\Plugin->initPhpLogging('')
#3 /srv/www/wbu/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#4 /srv/www/wbu/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#5 /srv/www/wbu/public_html/wp-settings.php(450): do_action('init')
#6 /srv/www/wbu/public_html/wp-config.php(94): require_once('/srv/www/wbu/pu...')
#7 /srv/www/wbu/public_html/wp-load.php(37): require_once('/srv/www/wbu/pu...')
#8 /srv/www/wbu/public_html/wp-admin/admin.php(31): require_once('/srv/www/wbu/pu...')
#9 in /srv/www/wbu/public_html/wp-content/plugins/rollbar/src/Plugin.php on line 390
@rkaiser0324 thanks for catching this. The problem should be solved in the latest release v2.4.9
. Please upgrade your plugin.
I get the following stacktrace upon activation of the plugin, using the commit tagged 2.4.8:
This is installed via
composer update
at my root project level. I did not runcomposer update
within theplugins/popup-maker
directory as well, since thevendor/
folder was already checked in.If I downgrade to 2.4.7 it's fine.
(edited formatting and added clarification)