yao
yao
1139 5 0

PHP版本在5.6下出现 Illegal string offset 错误

PHP版本在5.6下出现错误
Warning: Illegal string offset 'title' in
在TAG页面下会出现错误

<br />
<b>Warning</b>:  Illegal string offset 'author' in <b>/home/yaogeme1/mu/templates/default/tag.php</b> on line <b>19</b><br />

Warning: Illegal string offset 'title' in /home/yaogeme1/mu/templates/default/tag.php on line 23

Warning: Illegal string offset 'cname' in /home/yaogeme1/mu/templates/default/tag.php on line 24
  
Warning: Illegal string offset 'author' in /home/yaogeme1/mu/templates/default/tag.php on line 24
   
Warning: Illegal string offset 'addtime' in /home/yaogeme1/mu/templates/default/tag.php on line 28
0

See Also

Nearby


Discussion (5)

ego008
ego008 2022-04-05 23:05

产生 Illegal string offset ... 错误的原因

打印出 $article 内容看看。

0
yao
yao 2022-04-05 23:17

不懂怎么打印这个内容,我直接贴个地址出来吧, http://mu.yaoge.me/tag/mugrb

0
youbbs
youbbs 2022-04-05 23:22

@yao #2 你使用不是官方的开源版本,被人修改过的。

0
yao
yao 2022-04-05 23:29

@youbbs #3 之前的一个美化版本,我用官版的TAG文件盖上去了也是存在这情况

0
youbbs
youbbs 2022-04-05 23:33

应该是程序删除没干净,或者是其它情况让帖子数据丢失。

部分能正常显示

0
Login Topics