Skip to content

Error with Vanilla 1 Export #183

Description

@R-J

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) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions