I think the problem is that in multisite only the super admin has ‘edit_themes’. Since their role, even on a subsite is network admin, the capability isn’t seen. Very strange.
Hello! I also care about this issue. Updated the plugin to version 2.8. and here is such a nuisance. I also don’t understand why the developer of this plugin assigns an administrator “edit_themes ‘. I now can’t use this plugin. When writes error and exits access. To immediately resolve this problem and release a new plugin update that resolves the issue.
Plugin Contributor
cageehv
(@cageehv)
Hey guys!
Changing the permission to ‘edit_themes’ was a suggestion from a user.
read here
Since I thought every Administrator has the ‘edit_themes’ capability I thought it wouldn’t hurt to change it.
So, shall I change it back to ‘Administrator’?
peace,
Rolf van Gelder
Plugin Contributor
cageehv
(@cageehv)
Hey guys!
I decided to change the ‘edit_themes’ capability back to the ‘administrator’ role and released version 2.8.1.
peace,
Rolf
Thank you, Rolf!
Properly done, that was returned to the Administrator role. You can now use the plugin. I believe that an administrator should deal with the site database. This is a very important element of the site. So give another role is strictly not allowed. Optimizing the Database Administrator only has to deal with.
Thank you, Rolf, which returned all back!
Hey Rolf,
Thanks, I now have the Optimize Database menu back but clicking on it gives the following link http://example.com/wp-admin/tools.php?page=rvg-optimize-db.php&action=run which WordPress says is a 404.
I know this used to work. I have yet tried to downgrade to last 2.7.x but I’ll let you know.
FWIW, I’m running this on a multisite installation. It does work on a single site installation.
Plugin Contributor
cageehv
(@cageehv)
Hey Andy.
Weird… my plugin doesn’t have the word ‘example’ in it.
Maybe another plugin that causes this problem?
peace,
Rolf
Rolf, I just changed the domain for the purposes of the post. It really has my domain there.
The problem is that in multisite that endpoint seems to be a 404
Plugin Contributor
cageehv
(@cageehv)
Hey Andy,
Ok okay! 🙂
No idea why it hits a 404…
But, did it work with previous versions of my plugin?
Rolf
Yes, unless I’m being delusional it did work before. When I get back to a desktop I’ll reinstall an older version of the plugin to see if when it changed. Stay tuned. 🙂
Plugin Contributor
cageehv
(@cageehv)
Hey Andy,
Yeah, you must be very delusional 😉
But, yes, keep me posted!
Rolf
Rolf, using 2.8.1 it doesn’t matter if network activated or activated under the site. I still get 404s.
More to follow.
I am using plugin version 2.8.1. No errors! All works fine.
Andy, you have most likely with the server that something is wrong. I see you worked on the local server Denwer. Can the error. Try to test on a real server (hosting). I have personally no errors.
OK Rolf, I am delusional. Here’s what I did to mess myself up, just in case you find someone else as odd as me. 😉
When I switched my hosting I did a new install of WP. I then migrated the database. What happened is that there were extra database tables that didn’t start with my table prefix. These were cruft from the install/migration.
Once I deleted them all works and I’m happy again.
Plugin Contributor
cageehv
(@cageehv)
Hey Andy,
I’m glad you were able to figure it out 😉
peace,
Rolf