Title: Deprecated code &#8212; plugin triggers PHP Notice
Last modified: September 1, 2016

---

# Deprecated code — plugin triggers PHP Notice

 *  [htz77](https://wordpress.org/support/users/tzeldin88/)
 * (@tzeldin88)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/deprecated-code-plugin-triggers-php-notice/)
 * Plugin triggers this PHP notice
 * > Notice: has_cap was called with an argument that is deprecated since version
   > 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and
   > capabilities instead
 * [https://wordpress.org/plugins/easy-columns/](https://wordpress.org/plugins/easy-columns/)
 * Actually, another support post provides a fix, but it requires editing the plugin
   file.
    [https://wordpress.org/support/topic/has_cap-was-called-with-an-argument-that-is-deprecated-2](https://wordpress.org/support/topic/has_cap-was-called-with-an-argument-that-is-deprecated-2)

The topic ‘Deprecated code — plugin triggers PHP Notice’ is closed to new replies.

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

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)

 * 0 replies
 * 1 participant
 * Last reply from: [htz77](https://wordpress.org/support/users/tzeldin88/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/deprecated-code-plugin-triggers-php-notice/)
 * Status: not resolved