porter
porter copied to clipboard
Error with Vanilla 1 Export
I've cloned the current repo and built the vanilla2export.php with make.php
When I tried exporting a Vanilla 1 forum and entered database credentials and hitting "Begin Export" button, I receive a "Error in forum/vanilla2export.php line 1189: (2) Parameter 3 to Vanilla1::filterPermissions() expected to be a reference, value given" error message
Row 1189 is using call_user_func
if (isset($revMappings[$field]['Filter'])) {
$callback = $revMappings[$field]['Filter'];
$row2 =& $row;
$value = call_user_func($callback, $value, $field, $row2, $field);
and Vanilla1::filterPermissions is defined like that:
public function filterPermissions($permissions, $columnName, &$row) {