• Resolved snicolay

    (@snicolay)


    Hello,

    I got an error while updating copy-delete-posts from 1.3.7 to 1.3.9, then I cannot access wp-admin anymore, getting these messages:

    Warning: require_once(/htdocs/wp-content/plugins/copy-delete-posts/modules/blackfriday2022/bf.php): failed to open stream: No such file or directory in /htdocs/wp-content/plugins/copy-delete-posts/copy-delete-posts.php on line 152

    Fatal error: require_once(): Failed opening required ‘/htdocs/wp-content/plugins/copy-delete-posts/modules/blackfriday2022/bf.php’ (include_path=’.:/usr/share/php’) in /htdocs/wp-content/plugins/copy-delete-posts/copy-delete-posts.php on line 152

    This error stays even if I manually remove the plugin folder through FTP access. What’s the hell with that module ? How can I recover my wp-admin access ??

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author iClyde

    (@iclyde)

    Hi @snicolay

    As you can see in official release of version 1.3.9 there is no inclusion of any “bf.php” file through core plugin file.

    Published version: https://plugins.trac.ww.wp.xz.cn/browser/copy-delete-posts/tags/1.3.9/copy-delete-posts.php#L152

    We also didn’t receive any similar reports since this version is available.

    Nevertheless, this file was used in version 1.3.7 at mentioned line.
    What I assume is that your plugins directories had wrong permissions, and WordPress was not able to replace/remove core PHP files of our plugin. While module directory where bf.php file was, could be removed.

    That caused incomplete upgrade of the plugin, which ends up with fatal error.

    I would recommend you to:

    1. Check directory permissions wp-content/copy-delete-posts
    2. Download version 1.3.7:
      https://downloads.wp.xz.cn/plugin/copy-delete-posts.1.3.7.zip
    3. Extract that version into your plugins directory
    4. Enter wp-admin and disable the plugin
    5. Try to remove the plugin and make sure it’s entirely removed via FTP
    6. Install the plugin back again directly from ww.wp.xz.cn to make sure you have official release version.

    Let me know if that resolves your issue 🙂
    Thank you!

    Thread Starter snicolay

    (@snicolay)

    Hello iClyde.

    It worked ! Thank you.

    I just downloaded the 1.3.7 from your link (thanks for that), put it on the server with ftp after removing the 1.3.9. Then I could access wp-admin correctly again. Then I jumped some of your steps to first try to update again to 1.3.9 as I did yesterday and it worked correctly this time, update was successful and all is now working. Don’t know why the update failed yesterday and put that mess.

    Thank you so much for your help. Cheers.

    • This reply was modified 3 years ago by snicolay.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp-admin failed after copy-delete-posts 1.3.9 update failed’ is closed to new replies.