News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Warning messages on joomla 3.7 and php 7.1 - [Fixed in 3.2.52]

Started by nzy182, 11.05.2017 05:26:16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nzy182

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
  •  

nzy182

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
  •  

Arno

Thanks for this information. I will fix it in next version.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •