Reply to thread

I can't see anything in the script that would cause this:

[code=php]if ($legacyAddOnId)

{

    $addOn = \XF::em()->find('XF:AddOn', $legacyAddOnId);

    if ($addOn)

    {

        $renamedLegacy = true;

    }

    else

    {

        $output->writeln("<warning>No legacy add-on could be found with ID {$legacyAddOnId}.</warning>");

        $addOn = \XF::em()->create('XF:AddOn');

    }

}[/code]Fairly simple - if the add-on ID you provided was in the xf_addon table then it wouldn't emit the warning.


Back
Top Bottom