MrKii wrote
"Parse error: syntax error, unexpected 'new' (T_NEW) in P:\web\dokuwiki\lib\plugins\plugin\admin.php on line 114".
The plugin manager has been replaced by the extension manager. Delete lib\plugins\plugin\ and also check for other files to delete:
https://www.dokuwiki.org/install:unused_files