Wordpress: You do not have sufficient permissions to install plugins on this site - wordpress

for an unknown reason so far, my wordpress website shows, whichever page i try to access:
You do not have sufficient permissions to install plugins on this site.
i might fall into a specific wp bug related to unstable release, i'm on "WordPress 4.8-alpha-40040"
i'm not logged in, and the problem occurs whether i'm accessing the root of the website or the admin url.
user rights seem ok (i checked usermeta prefixes).
i tried setting wp_debug to true, the message still shows unvariably..
screenshot from website
thank you for your help!
jerome

One plugin was doing something (probably related to installing another plugin) that caused the error, disabling it solved my problem.

Related

Unable to access wordpress page after update

I'm facing an error with wordpress. I updated wordpress page by mistake and I'm getting error
The site is experiencing technical difficulties. Please check your
site admin email inbox for instructions.
When I try to access the page by admin. I can't revert the change since the unable to access the page from admin. Is there any way to fix this issue.
Kindly clarify your question, you updated one of the pages in your WordPress site or did you update WordPress to the latest version and got an error afterwards when trying to log in within the admin dashboard?
If it is a page you can't access, try disabling your plugins and see if it will be accessible. You can also try to enable WP_Debug to true from within the wp-config.php within your back-end file manager and see if the exact issue will be displayed so as to assist you with further troubleshooting.
Alternatively, if the issue arising is due to a WordPress update to the latest version, you can try renaming the plugins folder temporary from within your backend as a form of troubleshooting, if that fails, temporary rename your theme (/wp-content/themes/theme_name) to try and pinpoint the exact issue. All this can be done with the WordPress folder from cPanel, file manager.
If the above fails, go a step further and try doing stuff like PHP memory increase, post_max_size &c.
If all the above fails, refer to WordPress documentation on how to do a manual WordPress update and hopefully, the issue will be fixed.
Note: The above is just an insight of what you can look into and not a step by step guide to fixing the issue.

Unable to access wordpress plugin settings

I installed the plugin but I am unable to edit the settings of the plugin, I activate it. But the plugin is not showing on the menu bar and if I try to access the setting from the installed plugins page, the setting is still not showing. What to do?
Which plugin is it? first you should check if the plugin is compatible with the version of WordPress and the theme you are using.
in any case the reasons can be numerous.
Sometimes it happens that it is a server setting problem, especially the memory limit. Other times it can be a user permissions issue.

Wordpress plugin is not working after migration to a new server

I have moved my wordpress site to a new server, and login.php is working right.
But in there many plugins is not working well, for example the login page is not linked to any other page after I submitted my username and password.
Here is the login page link:
https://cpalocate.ca/login/
I have entered the invalid username and password, it will also show the blank page, but not error page.
When I add this code in wp-config.php
define('WP_DEBUG', true);
it showed this text. " Notice: Constant WYZ_THEME_DIR already defined in /home/.....".
And I have fixed that, but the same problem.
Now there is no any error debug, but the login page is also not working.
I changed the php version of my site in cpanel, but the same.
Anyone has your idea to solve this issue?
It is possible (I'd even say likely) that on your old server it was using PHP 5.6 (or at least a different version of PHP than your new server) and now you're on 7.0, 7.2 or even 7.3. It would seem that if that's the case, some of your plugins are incompatible.
You should edit your wp-config.php and add
define('WP_DEBUG', true);
so that you can see the errors on your screen, at least until you figure out which plugins are causing the problems.
If it is a matter of PHP version, check with your host to see if they can roll you back, or you'll have to either contact the plugin author and have them update the plugins, or you need to fix the code yourself, based on whatever the error messages you see are.
Edit: if this doesn't solve your problem, first try a default WordPress theme like twenty-nineteen or whatever. If that doesn't solve it, then disable each plugin one at a time until you find the culprit.
I have turned off all my plugins and turn back it one by one.
I have found one of my plugins is caused this problem, it is PM Pro Settings.
So I deactivated it and there is no any problem now.
I am using other plugins on behalf of that one.

Wordpress: redirecting to wp-admin/install.php even after reinstalling backup of a version that for sure worked

I'm having major difficulties to regaining access to my wordpress website (was online for 2 years) and to admin login of wordpress. I've been searching for quite a while now to resolve this issue.
I constantly got the too many redirect error and my browser was always redirected to wp-admin/install.php.
I already tried the common solutions:
Clear Your Cache and Cookies of browser,
disable .htaccess,
disable all plugins,
disable theme,
adapt wp-config.php:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Check/restore tables of database;
Check wp_options table (did not find a table wp_options (or similar named) in my database)
Nothing worked, in the end I tried the solution to reinstall my website with an old backup (generated from Duplicator – WordPress Migration Plugin) I generated in May. This issue only occurs since a few days so the backup version of the website was certainly a proper working one.
Unfortunately still the same issue appears, the websites keeps redirecting to wp-admin/install.php.
Anyone who has an idea what the solution could be?
Thanks in advance & kind regards!

Call to undefined function get_network_option()

I have a WordPress blog that I admittedly haven't been looking after/not upgrading the plug-ins etc I'm regularly emailed about - and now it's down.
No matter what page I go to, I get:
Fatal error: Call to undefined function get_network_option() in /home/gfptlkxn/public_html/blog/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 747
I've done a bit of googling on this and it seems a common problem, but more for people making changes/trying to use certain features etc - I've not changed anything/not doing anything fancy - it's just a simple blog.
So I figured maybe I could just go into my login page for WordPress, have a dig around, upgrade some plugins etc as a starting point.
Problem is, even my login page presents this error.
Any ideas where to start please?
There may be a compatibility issue between the WordFence plugin and your version of WordPress (as noted in the WordFence forums).
You should log into your website using FTP and delete the directory: /home/gfptlkxn/public_html/blog/wp-content/plugins/wordfence/
If you do not know or have FTP/SFTP access to your site, you may be able to log into your web hosting cPanel (or equivalent) and remove the directory using the File Manager feature.
Once that directory has been deleted, WordPress will be able to load again (and will automatically disable the no longer present WordFence plugin).
Once you've managed to log into WP-Admin, upgrade WordPress to the latest version, the install the WordFence plugin again if you need to.

Resources