Comments (5)
- Can you share your
composer.json
contents? - In your
.env
file, which ROLLBAR_XXXXXX keys are listed? (don't post their values, just the keys, likeROLLBAR_ABC
,ROLLBAR_FOO
,ROLLBAR_BAZ
) - What operating system is your site running on? (this affects how the
get_env
stuff works) - Can you post the
rollbar
section of yourconfig/services.php
?
from rollbar-php-laravel.
"name": "laravel/laravel",
"description": "Agent Legend",
"keywords": ["framework", "laravel"],
"license": "proprietary",
"type": "project",
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.4.*",
"phpmailer/phpmailer": "5.2.*",
"twilio/sdk": "^4.5",
"aws/aws-php-sns-message-validator": "^1.1",
"guzzlehttp/guzzle": "~6.0",
"dompdf/dompdf": "0.7.x@beta",
"soundasleep/html2text": "~0.2",
"recurly/recurly-client": "2.8.*",
"doctrine/dbal": "^2.5",
"pda/pheanstalk": "^3.1",
"pusher/pusher-php-server": "^2.6",
"laravel/passport": "^1.0",
"phansys/getid3": "^1.9",
"laravel/browser-kit-testing": "^1.0",
"webpatser/laravel-uuid": "2.*",
"intercom/intercom-php": "^3.1",
"rollbar/rollbar-laravel": "^2.1",
"fedeisas/laravel-mail-css-inliner": "^2.2"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.7",
"symfony/css-selector": "2.8.*|3.0.*",
"symfony/dom-crawler": "2.8.*|3.0.*"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/",
"ContactLegend\\": "app/ContactLegend"
}
},
"autoload-dev": {
"classmap": [
"tests/TestCaseBase.php"
],
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"scripts": {
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize",
"bower install",
"php artisan migrate --force"
],
"post-update-cmd": [
"php artisan optimize",
"bower install",
"php artisan migrate --force",
"php artisan queue:restart"
]
},
"config": {
"preferred-install": "dist"
}
}
from rollbar-php-laravel.
-
No ROLLBAR_XXXXX keys in my .env file
-
My local development environment is Homestead (Ubuntu 16.04) and my production environment is CentOS 6.9. Both environments experience the error.
'rollbar' => [
'access_token' => '{my access token}',
'environment' => env('APP_ENV'),
'level' => env('ROLLBAR_LEVEL', 'info'),
'root' => base_path(),
'person_fn' => function() {
return App\Utility\RollbarUtility::personFn();
}
]
from rollbar-php-laravel.
No ROLLBAR_XXXXX keys in my .env file
Okay. There's been a small bugfix (#18) since 2.2.0 that hasn't been tagged yet.
If you add your ROLLBAR_TOKEN to .env
it'll probably fix it:
ROLLBAR_TOKEN={your token here}
Alternatively, you could edit your config/services.php
and duplicate the access_token
line to show token
too, like this:
'rollbar' => [
'access_token' => '{my access token}',
+// temporary bugfix:
+ 'token' => '{my access token}',
'environment' => env('APP_ENV'),
from rollbar-php-laravel.
This has been included in tag v2.2.1
Let us know if you still have problems.
@drbyte Thank you for help with this
from rollbar-php-laravel.
Related Issues (20)
- Missing session data HOT 5
- Create package for Laravel Nova HOT 2
- Update to rollbar-php 3.x HOT 5
- Unable to install with Laravel 8.* HOT 5
- Support Laravel 9 HOT 1
- Unable to install on Laravel 9.* HOT 9
- Create a changelog document
- Fatal error after upgrading to 7.2.0 HOT 8
- Uncaught BadMethodCallException: Cannot serialize Symfony\Component\Routing\CompiledRoute when writing a log in a middleware. HOT 7
- Install fails with Laravel 9 HOT 1
- psr/log conflict HOT 23
- How is max_items reset since RollbarLogger is set as singleton
- Compatibility issue with Laravel 10 HOT 12
- Please make a new release HOT 4
- Hi, is there support for laravel 10? HOT 1
- "Unable to create configured logger. Using emergency logger....NullHandler" error HOT 7
- Can't install last version 8.0 ... no package HOT 6
- When in Dev Emergency Logging HOT 1
- JSON Body not sent to rollbar HOT 4
- laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rollbar-php-laravel.