Title: wp-cli activation broken
Last modified: January 20, 2023

---

# wp-cli activation broken

 *  [oolongm](https://wordpress.org/support/users/oolongm/)
 * (@oolongm)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wp-cli-activation-broken-2/)
 * This used to be a nice and simple plugin. We run it on hundreds of sites and 
   really used to like it. However since the v6 update this is packed with annoying
   notifications that want to make you believe you can’t live anymore without the
   paid pro version of this plugin.
 * Besides that on some of our sites the menu entry and with it the UI of this plugin
   just disappeared after v6 update and the WP CLI activation function is broken
   ever since. If you manage more than a handful of wordpress installations, you
   will know why this is an important feature.
 * Even though I provided plenty of feedback (support forum: “wp-cli activation 
   broken”) and even tested several attempts of the plugin author to fix this (since
   he was not able or willing to test it himself) this is still broken in the latest
   version (6.1.0).

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

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wp-cli-activation-broken-2/#post-16379288)
 * [@oolongm](https://wordpress.org/support/users/oolongm/) I’m so sorry to hear
   this. I admit I first thought it was a quick fix, but after the first changes
   didn’t result in a working result I did set wp-cli up locally, fixed it and successfully
   tested a wp-cli activation. So I was under the impression it was fixed. It was
   also tested by a second tester in our team.
 * I just ran a local test again, the SSL activation function ran without issues.
 * While typing this, I realised there can be one more issue that we won’t encounter
   during our tests: if the tester has opened the website before wp-cli activation,
   the ‘site_has_ssl’ option (which is an invalid certificate safeguard) is set,
   and the activation completes. As during our tests, we verify a site before and
   after the wp cli activation, the option is set and this issue doesn’t surface.
   If the site is NOT opened beforehand, this option is not set, and the activation
   doesn’t finish. We all missed that one.
 * I have created a branch that includes this fix, and also some logging in case
   there’s something else as well: [https://github.com/Really-Simple-Plugins/really-simple-ssl/tree/logging-for-wp-cli](https://github.com/Really-Simple-Plugins/really-simple-ssl/tree/logging-for-wp-cli)
 * As for the SSL menu on some sites: on multisite this is intentional (only an 
   ssl menu on the network admin), but I take it you’re referring to regular single
   site setups.
 * A few versions before 6.0 the manage_security capability has been introduced,
   for a more fine grained control of who has access to the menu. After several 
   reports of users where the capability wasn’t added to the administrator, 6.0.10
   we’ve executed an additional upgrade on this capability, aimed to ensure all 
   administrators would start out with this capability. After that I haven’t heard
   new reports of this issue, but if you still have issues on websites that have
   been upgraded to above 6.0.10 please let me know.
 * As for the notifications: we try to balance between upsells and offering a great
   free tool without too many notices. As you have been a great contributor to Really
   Simple SSL I certainly take your criticism on the upsells to heart and we’ll 
   take a new look at our notifications system.
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wp-cli-activation-broken-2/#post-16381382)
 * [@oolongm](https://wordpress.org/support/users/oolongm/) I can confirm that what
   I described above is exactly what happened during our tests: if tested on an 
   existing environment, or on a site where the back-end has been visited before
   activating with wp-cli, it works. This means the issue could only be reproduced
   if the plugin was also installed with wp-cli, and the site wasn’t visited before
   activating SSL.
 * I can also confirm our latest change fixes this. The fix will be included with
   the next update.
    -  This reply was modified 3 years, 4 months ago by [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/).
 *  Thread Starter [oolongm](https://wordpress.org/support/users/oolongm/)
 * (@oolongm)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wp-cli-activation-broken-2/#post-16394886)
 * > I have created a branch that includes this fix, and also some logging in case
   > there’s something else as well: [https://github.com/Really-Simple-Plugins/really-simple-ssl/tree/logging-for-wp-cli](https://github.com/Really-Simple-Plugins/really-simple-ssl/tree/logging-for-wp-cli)
 * [@rogierlankhorst](https://wordpress.org/support/users/rogierlankhorst/) I can
   confirm the ssl activation works again on this branch. Thanks a lot for finally
   fixing this. I’m looking forward to have this released, so our custom wp installation
   routine will succeed again.
 * > As for the notifications: we try to balance between upsells and offering a 
   > great free tool without too many notices.
 * I understand that you need to make some money too, maybe I was a little too harsh
   with my criticism out of frustration with the wp cli activation not working.
 * My problem with notifications may be specific to our use case, because sometimes
   I set up batches of 30 or more WordPress systems at once. When each installation
   brings 5 notifications that need to be dealt with, you can perhaps understand
   how annoying they become.
 * Now, one could argue that we should just buy the Pro version (assuming that the
   notifications will go away in this case), but unfortunately we already have another
   plugin with similar security features in use, so we don’t really need it.
 * Maybe you could consider a wp cli action to disable notifications for power users.
   If not, I guess we just start living with them, just like the other hundred notifications
   we see from other plugins :p
 * Anyway, although the code changes took several attempts to fix the problem, I
   am very pleased with the response times of your support and the detailed explanations
   you gave. That’s why I changed the rating to 4 stars. I will also gladly change
   the rating to 5 stars another time if you do find a solution to our notification
   problem 😉

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

The topic ‘wp-cli activation broken’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [oolongm](https://wordpress.org/support/users/oolongm/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/wp-cli-activation-broken-2/#post-16394886)