Home Support Forum VTEM Joomla Extensions Carousel is flooding my error logs with ...
Our Forums

Forums :: VTEM Joomla Extensions

Welcome Guest   

 Subject :Carousel is flooding my error logs with PHP warning... 03-01-2017 16:43:33 

mcpress
Fresher
Joined: 16-11-2016 11:00:10
Posts: 1
Location

My error log is full of a repeated PHP warning from the carousel module.

PHP Warning:  Creating default object from empty value in /var/www/html/mcpressonline.com/httpdocs/modules/mod_vtem_carousel/helper.php on line 308

It alternates showing line 308 and line 518. Please provide a fix for this. Thank you.

IP Logged

 Subject :Re:Carousel is flooding my error logs with PHP warning... 05-01-2017 13:56:53 

mainhy
Fresher
Joined: 26-07-2010 02:35:26
Posts: 2,247
Location

1) Please find the code in the helper.php file

$lists = array();

change by

$lists = array();

$lists[$i] = new stdClass();

2) You can find the the code in the helper.php file

$images->image = JURI::Root(true)

change by

$images = new stdClass();

$images->image = JURI::Root(true)

Thanks

IP Logged
Page # 

Beautiful premium Joomla templates

Get 100% complete access to our entire collection of 35+ themes for only $30!