Rollbar collects errors that happen in your application, notifies you, and analyzes them so you can debug and fix them. This plugin integrates Rollbar into your WordPress installation. Features PHP & JavaScript error logging. Define an environment for each single WordPress installation or Multisite
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.7 and PHP 8.2.
SourceWordPress plugins · Oct 19, 2026
01 / Source details
About this tool.
Rollbar collects errors that happen in your application, notifies you, and analyzes them so you can debug and fix them. This plugin integrates Rollbar into your WordPress installation.
Features
PHP & JavaScript error logging.
Define an environment for each single WordPress installation or Multisite blog.
Specify your desired logging level.
Regular updates and improvements!
Please note: In order to use this plugin, a Rollbar account is required.
Support
Browse issue tracker on GitHub and report new issues.
If you run into any issues, please email us at support@rollbar.com .
For bug reports, please open an issue on GitHub .
You like it?
You can at least support the plugin development and rate it up!
Disclaimer
This plugin is a community-driven contribution. All rights reserved to Rollbar .
See it in action
A closer look.
Settings page.
02 / Source details
Getting started.
The installation and configuration of the plugin are as simple as it can be.
Through WordPress Plugin directory
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:
01In your WordPress administration panel go to Plugins → Add New .
02Search for “Rollbar” and find Rollbar by Rollbar in the search results.
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 the 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 “Packagist” installation method.
Note: this only works if your WordPress project is managed with Composer. Read Using Composer with WordPress for more details.
This is a recommended way to install the Rollbar plugin for advanced projects. This way ensures the plugin and all of its dependencies are managed by Composer.
You can install the plugin by running the following command in the root directory of your WordPress project:
Note: if your WordPress project is managed with Composer, we strongly recommend installing the plugin through Packagist instead.
Installing the plugin from wpackagist.org instead of packagist.org will result in the plugin being managed by Composer. However, the downside is that it’s dependencies will not be managed by composer. Instead they will be packaged in the plugin’s vendor directory not in your project’s vendor directory. This has the potential to cause name collisions if other plugins or your project use different versions of the same dependencies.
To install the plugin from wpackagist.org run the following steps command in the root directory of your WordPress project:
composer require wpackagist-plugin/rollbar
Configuration
The plugin can be configured in the WordPress Admin or programmatically.
WordPress Admin
The plugin provides a settings page in the WordPress Admin that allows you to configure the plugin. This settings page can be disabled by setting the ROLLBAR_DISABLE_ADMIN constant to true in your wp-config.php file.
06Log into your Rollbar account dashboard : Go to Settings → Project Access Tokens .
07Copy the token value under post_client_item and post_server_item .
In WordPress, navigate to Settings → Rollbar :
08Enable PHP error logging and/or Javascript error logging depending on your needs.
09Paste the tokens you copied in step 7 in Access Token section.
10Provide 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.
11Pick a minimum logging level. Only errors at that or higher level will be reported. For reference: PHP Manual: Predefined Error Constants .
12Click Save Changes .
Programmatic Configuration
The plugin can also be configured programmatically. This is useful if you want to configure the plugin in a more advanced way or if you want to disable the admin settings page.
// wp-config.php // Configure the plugin. define( 'ROLLBAR_SETTINGS', [ 'php_logging_enabled' => true, 'server_side_access_token' => '<your token>', 'js_logging_enabled' => true, 'client_side_access_token' => '<your client token>', 'environment' => 'development', 'included_errno' => E_ERROR, 'enable_person_reporting' => true, ] ); // Optional: disable the admin settings page so the plugin is configured only programmatically. define( 'ROLLBAR_DISABLE_ADMIN', true );
03 / Source details
Frequently asked questions.
Multisite supported?
Yes, of course. Additionally, you can assign different environments to each of your blogs.
I have a complex WordPress project and use composer for managing dependencies. Is your plugin composer friendly?
Yes. It’s actually the recommended method of installation. You can install the rollbar/rollbar-php-wordpress package using composer.
Website LLMs.txt and LLMs-Full.txt Generator is an LLMs.txt generator and llms-full.txt generator for WordPress. It helps site owners generate, manage, preview, validate, and serve AI discovery files from published public content. Use it to create structured /llms.txt and optional /llms-full.txt end
EngageDock AI is a customizable floating contact widget for WordPress websites that want more leads and faster visitor communication. It helps small businesses turn website traffic into calls, texts, emails, and callback requests from one clean contact panel. Key Features: Click-to-Call – One tap ca
Altify AI is an auto ALT text and AI ALT text plugin for WordPress images. It helps generate descriptive image ALT text for accessibility and image SEO. Use bulk image ALT text tools for your Media Library, generate featured image ALT text automatically, and scale WooCommerce image ALT updates with
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati