1.1 (17.10.30)版本在PHP7.2、7.3、7.4环境下后台备份数据出错

讨论程序使用中的问题

1.1 (17.10.30)版本在PHP7.2、7.3、7.4环境下后台备份数据出错

帖子cshirong » 2020年 2月 1日 22:14

3.png
3.png (17.06 KiB) 被浏览 4221 次


备份后的数据多了Warning,上传备份恢复出错,但可以删除这些再上传,数据可用。PHP5.6版本不报错,可用。7.0亦可用。7.1未试过。

代码: 全选
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
<br />
<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/wwwroot/我的域名com/var/Widget/Backup.php</b> on line <b>218</b><br />
%TYPECHO_BACKUP_FILE% ??{"cid":1,"title":20,"slug":5,"created":10,"modified":10,"text":80,"order":1,"authorId":1,"template":null,"type":4,"status":7,"password":null,"commentsNum":1,"allowComment":1,"allowPing":1,"allowFeed":1,"parent":1}1娆㈣繋浣跨敤 Typechostart15805652631580565263<!--markdown-->濡傛灉鎮ㄧ湅鍒拌繖绡囨枃绔?琛ㄧず鎮ㄧ殑 blog 宸茬粡瀹夎鎴愬姛.01postpublish1111093aff4966c2958a5924d4ee5931d0709 ?| {"cid":1,"title":6,"slug":10,"created":10,"modified":10,"text":69,"order":1,"authorId":1,"template":null,"type":4,"status":7,"password":null,"commentsNum":1,"allowComment":1,"allowPing":1,"allowFeed":1,"parent":1}2鍏充簬start-page15805652631580565263<!--markdown-->鏈〉闈㈢敱 Typecho 鍒涘缓, 杩欏彧鏄釜娴嬭瘯椤甸潰.01pagepublish011107a97088c55ce80b2970e485be8b7743b ?U {"cid":1,"title":18,"slug":1,"created":10,"modified":10,"text":27,"order":1,"authorId":1,"template":null,"type":4,"status":7,"password":null,"commentsNum":1,"allowComment":1,"allowPing":1,"allowFeed":1,"parent":1}3鏄粈涔堢殑蹇摝315805652801580565280<!--markdown-->鍛靛懙銆傘€?1postpublish1111079df30ca7538438322e3b4900e2c9a95 ?{"cid":1,"title":26,"slug":26,"created":10,"modified":10,"text":177,"order":1,"authorId":1,"template":null,"type":10,"status":7,"password":null,"commentsNum":1,"allowComment":1,"allowPing":1,"allowFeed":1,"parent":1}4mmexport1414073756542.jpegmmexport1414073756542-jpeg15805658501580565850a:5:{s:4:"name";s:26:"mmexport1414073756542.jpeg";s:4:"path";s:36:"/usr/uploads/2020/02/2547529009.jpeg";s:4:"size";i:191672;s:4:"type";s:4:"jpeg";s:4:"mime";s:10:"image/jpeg";}11attachmentpublish01015e6cefa5d6e40b761f4778e2e3407cf09 ??{"cid":1,"title":15,"slug":1,"created":10,"modified":10,"text":142,"order":1,"authorId":1,"template":null,"type":4,"status":7,"password":null,"commentsNum":1,"allowComment":1,"allowPing":1,"allowFeed":1,"parent":1}5鐢ㄤ笂5.6璇曚笅515805658521580565852<!--markdown-->鍙氨 鍚с€傘€傘€傘€?

![mmexport1414073756542.jpeg][1]


  [1]: http://我的域名com/usr/uploads/2020/02/2547529009.jpeg01postpublish0111074acf1c502e44dcac2d8fad9bf110373 ??{"cid":1,"title":18,"slug":1,"created":10,"modified":10,"text":115,"order":1,"authorId":1,"template":null,"type":4,"status":7,"password":null,"commentsNum":1,"allowComment":1,"allowPing":1,"allowFeed":1,"parent":1}6鐢ㄤ笂7.4璇曠潧浜?15805659001580565923<!--markdown-->![QQ图片20140909133310.jpeg][1]


  [1]: http://我的域名com/usr/uploads/2020/02/2431085583.jpeg01postpublish011101d666e4b8dada8c95ace110571241c77 ?{"cid":1,"title":25,"slug":24,"created":10,"modified":10,"text":176,"order":1,"authorId":1,"template":null,"type":10,"status":7,"password":null,"commentsNum":1,"allowComment":1,"allowPing":1,"allowFeed":1,"parent":1}7QQ图片20140909133310.jpegQQ-片20140909133310-jpeg15805659201580565920a:5:{s:4:"name";s:25:"QQ图片20140909133310.jpeg";s:4:"path";s:36:"/usr/uploads/2020/02/2431085583.jpeg";s:4:"size";i:332820;s:4:"type";s:4:"jpeg";s:4:"mime";s:10:"image/jpeg";}11attachmentpublish01016f5bb347e9e30dc86c799f5208dcf6218 ?r {"coid":1,"cid":1,"created":10,"author":7,"authorId":1,"ownerId":1,"mail":null,"url":18,"ip":9,"agent":20,"text":30,"type":7,"status":8,"parent":1}111580565263Typecho01http://typecho.org127.0.0.1Typecho 1.1/17.10.30娆㈣繋鍔犲叆 Typecho 澶у鏃廲ommentapproved02a59726dd47999716d8d778454135ef0 ??{"coid":1,"cid":1,"created":10,"author":5,"authorId":1,"ownerId":1,"mail":24,"url":22,"ip":13,"agent":114,"text":15,"type":7,"status":8,"parent":1}[email protected]://www.typecho.org182.90.85.224Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36涓嶆€庝箞鎯宠commentapproved02e634a2dd4bfa21fc50dd9697783fcc9 U 7 {"mid":1,"name":12,"slug":7,"type":8,"description":24,"count":1,"order":1,"parent":1}1榛樿鍒嗙被defaultcategory鍙槸涓€涓粯璁ゅ垎绫?10f09bbb6924861684465d869402b786a0   {"cid":1,"mid":1}11b4b92f01842528e09a0c1172af20c442   {"cid":1,"mid":1}31db465c1fd4a244f6142a175be1ceef2f   {"cid":1,"mid":1}51bc32b808a4a4a3a455005d2495a69461   {"cid":1,"mid":1}613d1df7e84f63e425beed0838a59c578b ??{"uid":1,"name":5,"password":34,"mail":24,"url":22,"screenName":5,"created":10,"activated":10,"logged":1,"group":13,"authCode":32}[email protected]http://www.typecho.orgadmin158056526315805659290administrator4bed07c03b8f29a5a4cb7cfa7635155ac2b62e97f01ecdd78b418cd8eae18daf%TYPECHO_BACKUP_FILE%
cshirong
 
帖子: 6
注册: 2015年 8月 2日 23:56

回到 使用问题

在线用户

正在浏览此版面的用户:Google [Bot] 和 11 位游客