Error after upgrading from Pydio 7 to 8

In my opinion, it seems that the error is PHP related because it is having trouble parsing the function when it looks like it was expecting a string or NS Separator.