I get a warning message when activating module 'mod_jdownloads_most_recently_downloaded'
Warning: Illegal string offset 'relative' in .....\libraries\cms\html\html.php on line 624
Warning: Cannot assign an empty string to a string offset in .....\libraries\cms\html\html.php on line 624
Warning: Illegal string offset 'pathOnly' in .....\libraries\cms\html\html.php on line 625
Warning: Cannot assign an empty string to a string offset in .....\libraries\cms\html\html.php on line 625
Warning: Illegal string offset 'detectBrowser' in .....\libraries\cms\html\html.php on line 626
Warning: Illegal string offset 'detectDebug' in .....\libraries\cms\html\html.php on line 627
Warning: Illegal string offset 'relative' in .....\libraries\cms\html\html.php on line 630
Warning: Illegal string offset 'detectBrowser' in .....\libraries\cms\html\html.php on line 630
Warning: Illegal string offset 'detectDebug' in .....\libraries\cms\html\html.php on line 630
Warning: Illegal string offset 'pathOnly' in .....\libraries\cms\html\html.php on line 633
For a while i fix it this way
edit ....\modules\mod_jdownloads_most_recently_downloaded\mod_jdownloads_most_recently_downloaded.php
on line 21 replace:
JHTML::stylesheet( 'mod_jdownloads_most_recently_downloaded.css','modules/'.$module->module.'/');
with:
$document = JFactory::getDocument();
$document->addStyleSheet(JURI::root().'modules/'.$module->module.'/mod_jdownloads_most_recently_downloaded.css');
CMIIW
source:
https://docs.joomla.org/J3.x:Adding_JavaScript_and_CSS_to_the_page
Thanks for this information. I will fix it in next version.