Open labrat1984 opened 1 year ago
Hi Labrat!
Please provide page example where you've encountered this issue! I've had it a couple of times in the logs, but I can't identify the page content that causes it.
I may be able to fix the issue having a particular markdown list to check.
Whenever I preview edits or actually edit a page I receive the following warning (I'm on a Mac):
Warning: Undefined array key 2 in /Users/***/Sites/dokuwiki/lib/plugins/markdowku/syntax/ulists.php on line 79
After moving to a different page, the warnings disappear.
Backstory: I had my website in a Bitnami version of dokuwiki on the Google Cloud for a couple years. That version has stopped working. (I'm not sure why.) I had an archive of the site, so I installed a new version of the dokuwiki on my local computer. I added all of the extensions/plugins to the new version that I had been using on the old one including markdowku (which I have used ALOT).
I then attempted to load the archive (after extraction) simply by substituting the new "dokuwiki" folder with the archived dokuwiki folder. (I kept a copy of the new dokuwiki folder that I was replacing "just in case".) That did not work. I assume it was because the archive version of dokuwiki was older than the version I had just installed locally. But I don't really know. (That would have used the old plugins, etc. I guess that was not a great idea.)
So, I reloaded the new copy of the dokuwiki folder with the idea of just adding the archived documents that I knew I needed (such as the archived pages). Using that newly installed version of the dokuwiki folder, I just added the archived "data" folder, and "log" folder (because I got a log error). Everything seems to be working fine except for this warning that I receive with every edit.
I tried uninstalling and reinstalling the markdowku plugin but the problem remains.
Any assistance in solving this problem would be appreciated. I really like dokuwiki and I really like the markdowku plugin!