• Resolved mattronica

    (@mattronica)


    Hi there

    I managed to paste in the wrong server side access token and the plugin fails with a 500 error which was not recoverable. I removed the plugin and will have to delete the access token manually from the database.

    The error is below. Note that I have changed the access token/IP and site name for security reasons.

    [Tue Feb 20 13:43:30.596486 2018] [:error] [pid 17710] [client 1.1.1.1:13546] PHP Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘$config[‘access_token’] must be 32 characters long, was ‘66636b3c6bc72528a2b416102cc80c5a4fc9c040a76b4be68990bc5f0af2b90e” in /var/www/site1/httpdocs/wp-content/plugins/rollbar/vendor/rollbar/rollbar/src/Utilities.php:22\nStack trace:\n#0 /var/www/site1/httpdocs/wp-content/plugins/rollbar/vendor/rollbar/rollbar/src/Config.php(155): Rollbar\\Utilities::validateString(‘40636b3c6bc6452…’, ‘config[‘access_…’, 32, false)\n#1 /var/www/site1/httpdocs/wp-content/plugins/rollbar/vendor/rollbar/rollbar/src/Config.php(126): Rollbar\\Config->setAccessToken(Array)\n#2 /var/www/site1/httpdocs/wp-content/plugins/rollbar/vendor/rollbar/rollbar/src/Config.php(81): Rollbar\\Config->updateConfig(Array)\n#3 /var/www/site1/httpdocs/wp-content/plugins/rollbar/vendor/rollbar/rollbar/src/RollbarLogger.php(17): Rollbar\\Config->__construct(Array)\n#4 /var/www/site1/httpdocs/wp-content/plugins/rollbar/vendor/rollbar/rollbar/src/Rollb in /var/www/site1/httpdocs/wp-content/plugins/rollbar/vendor/rollbar/rollbar/src/Utilities.php on line 22

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor arturmoczulski

    (@arturmoczulski)

    Hey @mattronica

    Sorry to hear you ran into this problem and had to manually fix your database entry.

    The latest release v2.3.1 should be much more forgiving when it comes to saving invalid access tokens.

    Plugin Contributor arturmoczulski

    (@arturmoczulski)

    This has been fixed 🙂

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

The topic ‘500 error’ is closed to new replies.