Title: PHP Error
Last modified: August 31, 2016

---

# PHP Error

 *  Resolved [Julie](https://wordpress.org/support/users/habannah/)
 * (@habannah)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-error-157/)
 * Hi Roni,
 * I just noticed this error while using Query Monitor on my test site:
 *     ```
       PHP Error: Strict: Only variables should be assigned by reference
       Count: 1
       Location: wp-content/plugins/easy-filter/Classes/Admin.php:11
       Component: Plugin: easy-filter
       Call Stack:
       EzFilter\Classes\Admin->__construct()
       EzFilter\Classes\Loader->library()
       EzFilter\Classes\EzFilter->load_admin()
       EzFilter\Classes\EzFilter->run()
       ```
   
 * Just thought I would let you know. Cheers!
 * [https://wordpress.org/plugins/easy-filter/](https://wordpress.org/plugins/easy-filter/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-error-157/#post-6950796)
 * Just had that error too. You can get around it by going to
    `easy-filter\Classes\
   Admin.php`
 * Then on line 11 remove the ampersand, so that the line looks like this:
    `$this-
   >load = Loader::getInstance();`
 * Working locally I couldn’t use this plugin without this change.
 *  Thread Starter [Julie](https://wordpress.org/support/users/habannah/)
 * (@habannah)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-error-157/#post-6950797)
 * Thanks!
 * I’ll leave the topic as “not resolved” so the author has a chance to see this…
 *  Plugin Author [Roni Saha](https://wordpress.org/support/users/ronisaha/)
 * (@ronisaha)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-error-157/#post-6950822)
 * Thanks for reporting, fixed on v1.8
 *  Thread Starter [Julie](https://wordpress.org/support/users/habannah/)
 * (@habannah)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-error-157/#post-6950823)
 * Thanks Roni!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-filter_213951.svg)
 * [Easy Filter](https://wordpress.org/plugins/easy-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-filter/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Julie](https://wordpress.org/support/users/habannah/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/php-error-157/#post-6950823)
 * Status: resolved