When converting content with multiple tables, tables after the first fail to be processed correctly, resulting in the following fatal error:
Cannot use string offset as an array in .../dokuwiki2mediawiki.php:154
This happens because $cells is cleared to a string rather than being reset to NULL, so subsequent operations on $cells (e.g. count) then behave differently. The fix is to unset it rather than assigning to "".
When converting content with multiple tables, tables after the first fail to be processed correctly, resulting in the following fatal error:
This happens because
$cells
is cleared to a string rather than being reset toNULL
, so subsequent operations on$cells
(e.g.count
) then behave differently. The fix is tounset
it rather than assigning to""
.