Plugin Author
gioni
(@gioni)
Hi!
1. Install the previous version of the plugin.
2. Open the plugin admin dashboard in your browser.
3. Upgrade the plugin to the latest version.
For the first step, you can manually install the plugin from the archive: https://downloads.wordpress.org/plugin/wp-cerber.7.7.zip or use the plugin: https://wordpress.org/plugins/wp-rollback/
I will try.
This actually happened after upgrade.
So I wanted to upgrade, but It returned error “folder already exist” – this is often error, where upgrade tries to remov an old directory and is unable to do it for some reason.
This is separate problem I have as this is not one off situation. Almost every plugin and every theme is failing.
So I remove directories and files via ftp.
This time Cerber also failed. I removed all via ftp and installed as new.
And it is failing to start.
I will try again later, but if someone knows why the othe problem is happening I would love to know. Deleting via ftp is not a solution for me.
OK… I installed older version… No problems.
When I tried to upgrade I got message that it failed as there was a problem with removing old plugin.
Via FTP I can see that some files and directories left.
However I installed some “troubleshooting plugin” which shown me this error message:
———————————————————-
Warning: fopen(/www/mywebsite/wp-content/plugins/wp-cerber/wp-cerber.php): failed to open stream: No such file or directory in /www/mywebsite/wp-includes/functions.php on line 4848
Warning: fread() expects parameter 1 to be resource, boolean given in /www/mywebsite/wp-includes/functions.php on line 4851
Warning: fclose() expects parameter 1 to be resource, boolean given in /www/mywebsite/wp-includes/functions.php on line 4854
———————————————————-
I see that the file exists and here is a part of it- lines 4846 to 4854:
————————————
function get_file_data( $file, $default_headers, $context = ” ) {
// We don’t need to write to the file, so just open for reading.
$fp = fopen( $file, ‘r’ );
// Pull only the first 8kiB of the file in.
$file_data = fread( $fp, 8192 );
// PHP will close file handle, but we are good citizens.
fclose( $fp );
—————————————-
Thanks,
Marcin
Plugin Author
gioni
(@gioni)