BACKUP FIRST!!!
You can download the no-content version https://wordpress.org/wordpress-5.9.3-no-content.zip , unzip then upload & replace WordPress files via FTP
BACKUP FIRST!!!
Did you create a full backup before performing the update?
Can you verify if the user has the permissions to perform an update?
Are you logged in with a user who has admin rights?
What version of WordPress are you currently using?
Yes the user has admin rights:
@threadi As you can see here: https://i.imgur.com/kCWwyTq.png
The current WP Verison is: 5.8.3
@a2hostingrj I didnt do an update yet, but I do have enough backups.
@lcf I did so before and the site stopped working after that so I recreated a backup
– Use WP_Debug to get a list of errors and see if anything stands out
– Review your server’s access and error log and see if anything stands out
– Check if the wp_user_roles row in the database has been modified
I still cannot figure it out, now i saw I cannot update any plugins as it says again no access to update_core.php
How do I setup we_debug @a2hostingrj to give me an error log?
Where do I find it in FTP access on the server the error log?
I do not have wp_user_roles tbl, i only have this
@a2hostingrj :
View post on imgur.com
How to activate the debug mode in WordPress is described here: https://wordpress.org/support/article/debugging-in-wordpress/
Another thought: check if you have enough free space on your hosting.
And: have a look at Tools > Site Health to see if there are any messages that indicate a problem.
@threadi
@a2hostingrj
I proceeded to generate a debug log file and this is what it gave me:
https://pastebin.com/MhwcFqpr
The messages refer to a plugin that has been unavailable for more than 2 years due to a security risk: https://wordpress.org/plugins/wp-ui/
My advice would be to remove this plugin promptly (immediately!).
Unfortunately, I cannot judge whether this will solve your problem. If the problem persists, take another look at the log file after you have started an update attempt.
@threadi
thank you for your comment!
I removed the plugin, but the problem is still there with the following:
[25-Apr-2022 13:15:06 UTC] PHP Warning: unlink(/home/.sites/83/site5637307/web/wp-content/uploads/fusion-builder-avada-pages/data.zip): No such file or directory in /home/.sites/83/site5637307/web/wp-content/themes/Avada/includes/avada-functions.php on line 881
[25-Apr-2022 13:15:06 UTC] PHP Warning: fopen(/home/.sites/83/site5637307/web/wp-content/uploads/fusion-builder-avada-pages/data.zip): failed to open stream: No such file or directory in /home/.sites/83/site5637307/web/wp-content/themes/Avada/includes/avada-functions.php on line 882
[25-Apr-2022 13:15:09 UTC] PHP Notice: Undefined index: sdkPartner in /home/.sites/83/site5637307/web/wp-content/plugins/ml-slider/extendify-sdk/app/User.php on line 114
still can’t update wordpress
The 2 warnings are from the plugin fusion-builder-avada-pages. This belongs to the Avada theme you purchased. You could try to disable the plugin, but I can’t judge what consequences that would have for the site. The best way to do this is to contact Avada support: https://theme-fusion.com/support/
@threadi
Can you check this video?
I recorded how it rejects my Administrator User trying to update:
https://streamable.com/jirr4s
Is there maybe someone who does live support?
You can find people who can help you here: https://jobs.wordpress.net
Or you look in your region or circle of acquaintances, whether someone can look at it.
Its fixed, just set these to lines in wp-config to false.
define(‘DISALLOW_FILE_EDIT’, false);
define(‘DISALLOW_FILE_MODS’, false);
-
This reply was modified 4 years ago by
kapepixel.