dokuwiki-plugin-publish icon indicating copy to clipboard operation
dokuwiki-plugin-publish copied to clipboard

Getting Publish plugin errors in the Recent Changes display

Open kdmoyers opened this issue 7 years ago • 1 comments

When we select "Recent Changes" to see everything that has recently changed in the whole Dokuwiki, we see several pairs of these two lines:

Warning: Illegal string offset 'date' in D:\RAGs\VertrigoServ\www\DokuWiki\lib\plugins\publish\action.php on line 252 Warning: Illegal string offset '' in D:\RAGs\VertrigoServ\www\DokuWiki\lib\plugins\publish\action.php on line 252

For reference, line 252 of the code mentioned says:

if($meta['approval'][$meta['last_change']['date']]) {

The Publish plugin is very robust, so I suspect that I've bungled something with the wiki. Aside from this cruft in the Recent Changes report, it appears to be working well. Is there a way to "refresh" the plugin's database or something? I'll bet it's gotten messed up by something I did.

Thanks in advance! -K

kdmoyers avatar Jul 16 '18 16:07 kdmoyers

Hi, it seems that you are using quite an old version of the plugin (<= 2013-09-26). The current version is 2018-07-26.

Please try upgrading the plugin first!

phy25 avatar Oct 13 '18 07:10 phy25