Open pyuxiang opened 1 year ago
The error message in particular is:
Warning: Undefined variable $section in /var/www/dokuwiki/lib/plugins/toctweak/syntax/sidetoc.php on line 73
https://github.com/ssahara/dw-plugin-toctweak/blob/6fea3566234b5fbe9894d6abe407afe23d537454/syntax/sidetoc.php#L73
Does not seem to be a Dokuwiki environment variable either. Can be resolved by removing this variable, since get_metatoc already has a default parameter assigned.
get_metatoc
The error message in particular is:
https://github.com/ssahara/dw-plugin-toctweak/blob/6fea3566234b5fbe9894d6abe407afe23d537454/syntax/sidetoc.php#L73
Does not seem to be a Dokuwiki environment variable either. Can be resolved by removing this variable, since
get_metatoc
already has a default parameter assigned.