Title: VideographyWP throws error when activated using wp-cli
Last modified: December 11, 2019

---

# VideographyWP throws error when activated using wp-cli

 *  [Joost](https://wordpress.org/support/users/jberculo/)
 * (@jberculo)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/videographywp-throws-error-when-activated-using-wp-cli/)
 * When I try to automatically activate the plugin using wp-cli, I get the rather
   informative error message ‘You are not allowed to do this’ :).
 * It seems to be a check for permissions, that wp-cli obviously doesn’t have. Could
   this be fixed, as it is killing my ci pipeline, and I’d like to include this 
   plugin.
 * Code that is run:
    wp_die( __(‘You are not allowed to do this.’, ‘videographywp’),
   __(‘Not allowed’, ‘videographywp’) );
 * Regards,
    Joost.

The topic ‘VideographyWP throws error when activated using wp-cli’ is closed to 
new replies.

 * ![](https://ps.w.org/videographywp/assets/icon-128x128.png?rev=1409566)
 * [Featured Video for WordPress - VideographyWP](https://wordpress.org/plugins/videographywp/)
 * [Support Threads](https://wordpress.org/support/plugin/videographywp/)
 * [Active Topics](https://wordpress.org/support/plugin/videographywp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/videographywp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/videographywp/reviews/)

## Tags

 * [plugin activation](https://wordpress.org/support/topic-tag/plugin-activation/)
 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * 0 replies
 * 2 participants
 * Last reply from: [Joost](https://wordpress.org/support/users/jberculo/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/videographywp-throws-error-when-activated-using-wp-cli/)
 * Status: not resolved