ArgumentCountError: imagerotate() expects exactly 3 arguments, 4 given

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

More info has been written to the DokuWiki error log.