Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Vanilla Porter : Error: (2) array_pop() expects parameter 1 to be array, boolean given

Hi all,

I'm french. I'm a newbie on Vanilla. I'm trying to export a phpbb3 mysql database in Vanilla (I backupped it from GUI in phpbb3) using vanilla2export.php (Vanilla Porter 2.2) and when I choose "All supported data" from "Export type" I get: Error: (2) array_pop() expects parameter 1 to be array, boolean given

But if I choose "Only users and roles" it works fine and I'm able to import all the users properly.

My phpbb3 and Vanilla 2.2 are installed locally because my databas PHPBB3 is big.

I use root for the Vanilla Porter but is not ready.

Help me please

Thank you !

Tof

Comments

  • DaazKuDaazKu Admin
    edited December 2015

    Bonjour Tof,

    Je n'arrive pas à reproduire ton erreur.

    Serait-il possible d'avoir une copie de ton backup afin que je puisse la reproduire?

    Edit: J'ai trouvé où l'erreur se produit. Dans vanilla2export.php cherche pour le code suivant:

    return array_pop($value);
    

    et remplace le par:

    return $value ? array_pop($value) : '';
    
  • TofTof
    edited December 2015

    Super !!! Merci à toi, un vrai cadeau de noel ! =)

Sign In or Register to comment.