Hello, some months back I purchased Ariquiz. I've been working on the performance of my joomla 3.4.1 installation when I received this error message:
Strict Standards: Only variables should be assigned by reference
/public_html/plugins/system/ariquizreloader/ariquizreloader.php on line 28

I took a look at it and here's what it said on line 28
Code: |
$document =& JFactory::getDocument();
|
Which is part of this block of code:
Code: |
class plgSystemAriquizreloader extends JPlugin
{
function plgSystemAriquizreloader(&$subject, $config)
{
parent::__construct($subject, $config);
}
function onAfterDispatch()
{
$mainframe = JFactory::getApplication();
$document =& JFactory::getDocument();
$doctype = $document->getType();
if ($mainframe->isAdmin() || $doctype !== 'html') return ;
$option = JRequest::getCmd('option');
$task = JRequest::getString('view');
if ($option != 'com_ariquiz' || $task != 'question')
return ;
$version = new JVersion();
$isJ16 = version_compare($version->getShortVersion(), '1.6.0', '>=');
$document->addScript('plugins/system/' . ($isJ16 ? 'ariquizreloader/' : '') . 'ariquizreloader/js/init.min.js');
}
}
|
How do I correct this error so it goes away?
Thanks in advance for your assistance!