You do not have permission to preview drafts.
-
[ Moderator note: moved to How-to and Troubleshooting. ]
Just recently I made quit a bit of upgrades to a site. I updated all of the plugins and also I updated to the latest version of wordpress. Now when I go to preview post/pages that have been published I get an error message saying You do not have permission to preview drafts.
It is also the same on unpublished drafts as well.
I have narrowed it down to what is causing the problem but I don’t know how to fix it.
I have a plugin called woocommerce Version 2.2.10 and when the plugin is enable I cannot preview any pages with the preview button. When I disable the plugin then I can use the preview page button.
When the plugin is disable my preview page button takes me to this address:
https://www.silverliningherbs.com/?preview_id=30&preview_nonce=c48e391f5d&preview=true
which allows me to view the page.When I have the plugin enable it tries to take me to this url address:
https://www.silverliningherbs.com/?preview_id=30&preview_nonce=c48e391f5d&preview=true
which then thows the errorAs you can see the second one is missing the s in http, and I think that is what causing the issue. The problem is that I do not know how to fix it.
I have tried to clear my cookies and all of that, I even used a private browser but it did not help. I have also tried different types of browsers but it has not helped.
I also tried a new theme but I still get the same error.
I have checked my url’s in general settings and both url’s are like this: https://www.silverliningherbs.comI have tried to take out the s in https but every time I go to save, it puts them back in automatically.
Now I know that the plugin is out of date, but I cannot update to the new plugin because are theme is out of date. I cannot get the theme updated because it is a custom theme and the people who own the website fired their theme developer, so I am stuck with this outdated plugin.
So how do I add in the s or take it out to preview the pages?
Any help would be great, thanks.
website is https://www.silverliningherbs.com
wordpress4.4.2
- The topic ‘You do not have permission to preview drafts.’ is closed to new replies.