# Plugins not working -- frustrated

**URL:** https://discourse.roots.io/t/plugins-not-working-frustrated/1271
**Category:** bedrock
**Created:** 2014-02-21T02:29:50Z
**Posts:** 4
**Showing post:** 3 of 4

## Post 3 by @swalkinshaw — 2014-02-21T05:01:50Z

That plugin is doing a terrible practice of loading `wp-load.php` outside of WP on its own.

Ref: [http://plugins.svn.wordpress.org/easy-media-gallery/trunk/includes/easyloader.php](http://plugins.svn.wordpress.org/easy-media-gallery/trunk/includes/easyloader.php)

```
error_reporting(0);ini_set('display_errors', 0);
$parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] );
require_once( $parse_uri[0] . 'wp-load.php' );
```

This is so bad it should be a joke :frowning:

See [http://ottopress.com/2010/dont-include-wp-load-please/](http://ottopress.com/2010/dont-include-wp-load-please/)

Unfortunately you will run into more issues running Bedrock than you would otherwise. The good news is you’ll find out right away which plugins aren’t coded properly. I can say with almost 100% certainty that if a plugin doesn’t work with Bedrock, it’s their fault.

edit: `ABSPATH` doesn’t work because they’re just including `wp-load.php` outside of WP without loading the config or anything.

---

_[View the full topic](https://discourse.roots.io/t/plugins-not-working-frustrated/1271)._
