TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given

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

More info has been written to the DokuWiki error log.