Skip to content

in_array() expects parameter 2 to be array, null given #65

@tonyarnold

Description

@tonyarnold

When attaching more than one data source to a view, I'm getting the following error when trying to render the view on the frontend:

in_array() expects parameter 2 to be array, null given
An error occurred in /Users/tonyarnold/Sites/Contracts/wcc-fid.local/symphony/lib/class.general.php around line 824

819 }
820  
821 protected static $dependencies;
822  
823 protected function dependenciesSortCallback($a, $b) {
824     return (in_array($b, self::$dependencies[$a]) ? 1 : -1);
825 }
826  
827 /***
828  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions