Title: Error upon activating the plugin
Last modified: October 5, 2018

---

# Error upon activating the plugin

 *  [peterspliid](https://wordpress.org/support/users/peterspliid/)
 * (@peterspliid)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/error-upon-activating-the-plugin/)
 * I get the following error/warning on my admin page when I activate the plugin:
 * Notice: has_cap was called with an argument that is deprecated since version 
   2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /home/**/
   public_html/wp-includes/functions.php on line 4045

Viewing 1 replies (of 1 total)

 *  Plugin Author [ternstyle](https://wordpress.org/support/users/mpraetzel/)
 * (@mpraetzel)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/error-upon-activating-the-plugin/#post-10932235)
 * Hmmmm. Usually this is due to the use of the WordPress `current_user_can` function.
   However, when looking into the plugin, it appears all usage of that function 
   is compliant. Are you using the Free or the PRO version?

Viewing 1 replies (of 1 total)

The topic ‘Error upon activating the plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/automatic-youtube-video-posts_e39595.
   svg)
 * [Automatic Youtube Video Posts Plugin](https://wordpress.org/plugins/automatic-youtube-video-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/automatic-youtube-video-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/automatic-youtube-video-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/automatic-youtube-video-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/automatic-youtube-video-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/automatic-youtube-video-posts/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ternstyle](https://wordpress.org/support/users/mpraetzel/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/error-upon-activating-the-plugin/#post-10932235)
 * Status: not resolved