Undefined constant bug
There's a small bug in the latest SL Combinator version. Seems that something from the SL Developer Info codebase made it into the combinator extension file:
Notice: Use of undefined constant SL_DEVINFO_EXT_NAME -
assumed 'SL_DEVINFO_EXT_NAME' in ext.sl_combinator_ext.php on line
115
Fix is simple and working here, the proper ID for the extension used in conjunction with LG Addon Updater needs to be placed around line 115:
// Register a new addon.
if ($this->settings['update_check'] == 'y')
{
$addons[SL_DEVINFO_EXT_NAME] = $this->version;
}
becomes this (as defined in http://www.experienceinternet.co.uk/addon-versions.xml):
// Register a new addon.
if ($this->settings['update_check'] == 'y')
{
$addons[SL_CMB_addon_id] = $this->version;
}
Didn't notice this error until I removed the SL Developer Info module (which had some BASE constant problems itself). Error only shows up on the system dashboard, since that's the place where LG Addon Updater checks for new versions.
Regards
Peter.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Stephen Lewis on 28 May, 2010 10:44 AM
Hi Peter,
Thanks for the detailed bug report. I've delved back into the quagmire of SL Combinator code (ewww), and fixed the issue.
Version 2.1.1 is available for download from GitHub, and I'll update my site shortly.
Cheers,
Stephen
Stephen Lewis closed this discussion on 28 May, 2010 10:44 AM.