Sorry - here are the details; regarding struct commit fc61ec9 on 2023-11-15. . .
My installation is dokuwiki release 2023-04-04a "Jack Jackrum". My server returns the following for
php --version: (ubuntu server)
PHP 7.4.33 (cli) (built: Nov 14 2023 18:32:58) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies
As for hacks, at one point I did some CSS tweaks in struct/style.less, but very minimal, like font sizes or table margins, padding and that sort of stuff. I doubt it is part of the problem as I just tested the upgrade on a seperate installation of dokuwiki, with an untouched struct plugin, this time running another version of php (on fedora workstation) and the same
dokuwiki release; 2023-04-04a.
PHP 8.2.12 (cli) (built: Oct 24 2023 19:22:16) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.2.12, Copyright (c) Zend Technologies
with Zend OPcache v8.2.12, Copyright (c), by Zend Technologies
- and I'm getting the same error:
ArgumentCountError: Too few arguments to function dokuwiki\plugin\struct\types\AbstractBaseType::renderTagCloudLink(), 6 passed in /usr/share/dokuwiki/lib/plugins/struct/meta/AggregationFilter.php on line 52 and exactly 7 expected
I suppose I should fess up to a piece of javascript in userscript.js, which keeps a page from scrolling to the top after a refresh. Its black magic to be sure, but it didnt look dangerous. . . . .