TypeError: array_shift(): Argument #1 ($array) must be of type array, int given

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the datatemplate plugin.

More info has been written to the DokuWiki error log.