• Resolved Hector Cabrera

    (@hcabrera)


    Hi Prashant,

    Every time I create a backup manually using the “Create new Database Backup” button, the following PHP warnings pop up in my debug.log file:

    [22-Feb-2018 15:01:03 UTC] PHP Warning:  fopen(/path/to/wp-content/uploads/db-backup/.htaccess): failed to open stream: No such file or directory in /path/to/wp-content/plugins/wp-database-backup/includes/admin/class-wpdb-admin.php on line 1667
    [22-Feb-2018 15:01:03 UTC] PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /path/to/wp-content/plugins/wp-database-backup/includes/admin/class-wpdb-admin.php on line 1667
    [22-Feb-2018 15:01:03 UTC] Class ZipArchive
    [22-Feb-2018 15:01:04 UTC] number_of_existing_backups
    [22-Feb-2018 15:01:04 UTC] 1
    [22-Feb-2018 15:01:04 UTC] number_of_backups_from_user
    [22-Feb-2018 15:01:04 UTC] 

    Could you please look into it? Let me know if you need more details.

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    This is warning and do not affect your website.

    This is enable for debugging purpose. WP Database Plugin try to find htaccess file in backup folder if not able to find then show this warning.

    I will check and fix this warning in next version.

    Hi,

    I have release new version 4.5.5.

    With this release,
    Add Setting -Enable/Disable .htaccess File In Storage Directory
    as well as fixed this warning.

    If you face any problems then let us know.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP warnings when creating backup manually’ is closed to new replies.