亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長(zhǎng)資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    解決tp5遇到Call to a member function toArray() on array的報(bào)錯(cuò)

    下面由thinkphp教程欄目給大家介紹解決tp5遇到Call to a member function toArray() on array的報(bào)錯(cuò)的方法,希望對(duì)需要的朋友有所幫助!

    在寫代碼是又遇到Call to a member function toArray() on array的報(bào)錯(cuò),居然還是不會(huì)改,寫個(gè)博客記錄一下。
    解決tp5遇到Call to a member function toArray() on array的報(bào)錯(cuò)
    改正時(shí)是在applicationdatabase.php中 的

    // 數(shù)據(jù)集返回類型     'resultset_type'  => 'array',

    改為

    // 數(shù)據(jù)集返回類型     'resultset_type'  => 'collection', 這樣就可以啦

    贊(0)
    分享到: 更多 (0)
    網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)