Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
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.
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.
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences