Laravel: array_merge(): Argument #2 is not an array error

前端 未结 7 1706
执念已碎
执念已碎 2021-02-07 02:46

Exceptions started to appear in all views, and when I try to run composer update, it always ends up with

{\"error\":{\"type\":\"ErrorException\",\"m         


        
7条回答
  •  日久生厌
    2021-02-07 03:43

    I solved it:

    open This folder-->/Applications/MAMP/htdocs/*****/vendor/laravel/framework/src/Illuminate/View/Factory.php

    and comment this line

    //$data = array_merge($mergeData, $this->parseData($data));
    

    line number -> 136.

提交回复
热议问题