Plugin / Rollbar

Rollbar

Installation

Installation

The installation and configuration of the plugin are as simple as it can be.

Through [WordPress Plugin directory](https://wordpress.org/plugins/rollbar/)

The easiest way to install the plugin is from the WordPress Plugin directory. If you have an existing WordPress installation and you want to add Rollbar:

  1. In your WordPress administration panel go to PluginsAdd New.
  2. Search for “Rollbar” and find Rollbar by Rollbar in the search results.
  3. Click Install Now next to the Rollbar plugin.
  4. In PluginsInstalled plugins find Rollbar and click activate underneath.
  5. Log into your Rollbar account dashboard.
  6. Go to SettingsProject Access Tokens.
  7. Copy the token value under post_client_item and post_server_item.
  8. Navigate to ToolsRollbar.
  9. Enable PHP error logging and/or Javascript error logging depending on your needs.
  10. Paste the tokens you copied in step 7 in Access Token section.
  11. Provide the name of your environment in Environment. By default, the environment will be taken from WP_ENV environment variable if it’s set otherwise it’s blank. We recommend to fill this out either with development or production.
  12. Pick a minimum logging level. Only errors at that or higher level will be reported. For reference: PHP Manual: Predefined Error Constants.
  13. Click Save Changes.

Warning: This installation method might not be suitable for complex WordPress projects. The plugin installed this way will be self-contained and include all of the required dependencies for itself and rollbar/rollbar-php library. In complex projects, this might lead to version conflicts between dependencies and other plugins/packages. If this is an issue in your project, we recommend the “Advanced” installation method. For more information why this might be important for you, read Using Composer with WordPress.

Through [wpackagist](https://wpackagist.org/) (if you manage your project with Composer) *recommended*

This is a recommended way to install Rollbar plugin for advanced projects. This way ensures the plugin and all of its’ dependencies are managed by Composer.

  1. If your WordPress project is not managed with Composer yet, we suggest looking into upgrading your WordPress: Using Composer with WordPress.
  2. In your composer.json add wpackagist-plugin/rollbar to your require section, i.e.:
    "require": {
    "php": ">=5.5",
    ...,
    "wpackagist-plugin/rollbar": "*"
    }
  3. Issue command composer install in the root directory of your WordPress project.
  4. In PluginsInstalled plugins find Rollbar and click Activate underneath.
  5. Log into your Rollbar account dashboard.
  6. Go to SettingsProject Access Tokens.
  7. Copy the token value under post_client_item and post_server_item.
  8. Navigate to ToolsRollbar.
  9. Enable PHP error logging and/or Javascript error logging depending on your needs.
  10. Paste the tokens you copied in step 7 in Access Token section.
  11. Provide the name of your environment in Environment. By default, the environment will be taken from WP_ENV environment variable if it’s set otherwise it’s blank.
  12. Pick a minimum logging level. Only errors at that or higher level will be reported. For reference: PHP Manual: Predefined Error Constants.
  13. Click Save Changes.

Ratings

4.5
2 reviews

Rating breakdown

Details Information

Version

2.6.0

First Released

10 Dec, 2015

Total Downloads

18,134

Wordpress Version

3.5.1 or higher

Tested up to:

5.1.3

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.