Closed fiwswe closed 3 months ago
…/data/log/deprecated/*.log shows entries such as this: 2022-09-06 13:28:11 syntax.php is deprecated. It was called from require_once() in /dokuwiki-test/lib/plugins/syntax.php:3 Do not require() files yourself. Autoloading should be used instead!
2022-09-06 13:28:11 syntax.php is deprecated. It was called from require_once() in /dokuwiki-test/lib/plugins/syntax.php:3 Do not require() files yourself. Autoloading should be used instead!
A grep over the plugins folder turned up this which I suspect is one of the causes of the message: /var/www/dokuwiki-test/lib/plugins/meta/syntax.php:require_once(DOKU_PLUGIN.'syntax.php'); See: https://github.com/dokufreaks/plugin-meta/blob/master/syntax.php#L10
/var/www/dokuwiki-test/lib/plugins/meta/syntax.php:require_once(DOKU_PLUGIN.'syntax.php');
Commenting the line seems to solve the issue.
fiwswe
…/data/log/deprecated/*.log shows entries such as this:
2022-09-06 13:28:11 syntax.php is deprecated. It was called from require_once() in /dokuwiki-test/lib/plugins/syntax.php:3 Do not require() files yourself. Autoloading should be used instead!
A grep over the plugins folder turned up this which I suspect is one of the causes of the message:
/var/www/dokuwiki-test/lib/plugins/meta/syntax.php:require_once(DOKU_PLUGIN.'syntax.php');
See: https://github.com/dokufreaks/plugin-meta/blob/master/syntax.php#L10Commenting the line seems to solve the issue.
fiwswe