Closed mhei closed 3 years ago
Do you try to export an latex page?
Please share the piece of wiki text with captions/references that triggers this.
Sometimes you see errors only the first time a page is displayed, in that case you can refresh caching in the wiki by adding &purge=true
or ?purge=true
to the url.
Indeed, I'm seeing the error line when exporting Latex. There is one error line for each imgcaption tag used in the wiki page.
One example wiki text is:
...
<imgcaption example1|RS-485-Brücke>
{{:start:documents:example1.png?nolink&600|}}</imgcaption>
...
The error line is generated with and without appending the purge parameter to the URL.
I cannot reproduce the warning anymore.
I see the following errors in my Apache error.log:
PHP Warning: Illegal string offset 'type' in /var/lib/dokuwiki/lib/plugins/imagereference/syntax/imgcaption.php on line 188
Plugin is installed on an Ubuntu dokuwiki installation, that is release 2013-12-08 "Binky". The version I installed is according to the manager.dat file in the imagereference base directory: installed=Thu, 08 Oct 2015 09:47:08 +0000 url=https://github.com/Klap-in/dokuwiki-plugin-imagereference/zipball/master
I did not yet tried the latest version because git history told me, that the imgcaption.php was changed last on March 11, this year.