Hello,

My AutoBackup plugin is not emailing me the backup file and is looks to be producing some errors:

E_WARNING: fopen() expects parameter 1 to be a valid path, string given
/var/www/html/cmsb/3rdParty/SwiftMailer5/classes/Swift/ByteStream/FileByteStream.php (line 142)
http:///var/www/html/cmsb/cron.php
E_USER_NOTICE: Unable to open file for reading [?
/var/www/html/cmsb/lib/common.php (line 1368)
http:///var/www/html/cmsb/cron.php

Could someone please shed some light on what might be going wrong and how I might be able to fix this?

Thank you,

Greg

By daniel - October 31, 2018

Hi Greg,

At first glance, it looks like the backup file is not being found when the plugin attempts to send the email; likely either the backup is not being created, or it's looking in the wrong place. Were the backup emails working previously? Can you check to see if the backup files are being generated correctly? Also, what version of CMSB and AutoBackup are you using?

Thanks,

Daniel
PHP Programmer
interactivetools.com