Use of undefined constant ture - assumed 'ture' (this will throw an Error in a future version of PHP)如何解决

  今天在安装一个wordpress模板时提示Use of undefined constant ture - assumed 'ture' (this will throw an Error in a future version of PHP),看提示是需要把true用''包起来,ytkah就试着把

array(
'default' => ture,
),

  改成

array(
'default' => 'ture',
),

  问题解决

  安装模板的时候有提示php需要7.4版本,但实际使用是7.3,这个应该是php不同版本的使用方法不用引起的,有遇到相似问题的朋友可以试试

posted @ 2021-05-29 14:39  ytkah  阅读(4846)  评论(0编辑  收藏  举报
IPO发家故事 网址导航 gg N / G Sitemap

部分内容来源于网络,如有版权问题请联系删除