Git Product home page Git Product logo

Comments (5)

drbyte avatar drbyte commented on July 28, 2024
  1. Can you share your composer.json contents?
  2. In your .env file, which ROLLBAR_XXXXXX keys are listed? (don't post their values, just the keys, like ROLLBAR_ABC, ROLLBAR_FOO, ROLLBAR_BAZ)
  3. What operating system is your site running on? (this affects how the get_env stuff works)
  4. Can you post the rollbar section of your config/services.php?

from rollbar-php-laravel.

playerrtwo avatar playerrtwo commented on July 28, 2024
    "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.

playerrtwo avatar playerrtwo commented on July 28, 2024
  1. No ROLLBAR_XXXXX keys in my .env file

  2. 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.

drbyte avatar drbyte commented on July 28, 2024

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.

ArturMoczulski avatar ArturMoczulski commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.