dokufreaks / plugin-tag

Assign category tags to wiki pages
http://dokuwiki.org/plugin:tag
GNU General Public License v2.0
54 stars 38 forks source link

PHP8.1 Warnings #239

Closed LMS235 closed 2 years ago

LMS235 commented 2 years ago

Warnings with PHP8.1

PHP Warning: Trying to access array offset on value of type null in .../lib/plugins/tag/helper.php on line 427

Klap-in commented 2 years ago

Could you reinstall the tag plugin in the Extension Manager, and test if it is solved?

LMS235 commented 2 years ago

Error solved with the actual https://github.com/dokufreaks/plugin-tag/archive/refs/heads/master.zip

LMS235 commented 2 years ago

But now:

Error: Cannot access protected property helper_plugin_tag::$namespace

image

LMS235 commented 2 years ago

somethin with the fix is wrong. after restore the old version it works again (with the warnings)

Klap-in commented 2 years ago

Could you please provide the entire error message from the log file?

Klap-in commented 2 years ago

Which (tag related) plugins do you use? I guess some other plugins depends on the namespace property..

LMS235 commented 2 years ago

Cloud Plugin (for 15 TOP Tags)

Klap-in commented 2 years ago

i found these uses, temporary fix is making 'namespace' temporary public https://codesearch.dokuwiki.org/xref/plugin/cumulus/syntax.php#141 https://codesearch.dokuwiki.org/xref/plugin/ckgedit/action/tagapi.php#64 https://codesearch.dokuwiki.org/xref/plugin/cloud/syntax.php#114