0
Sorry one more!
Maps shows errors x 2:
I am using
JS 2.6.1
Joomla 2.5.8
Content Statistics - JomSocial 1.4.2
Content Statistics (EVOLUTION IN TIME) 1.5.0
Content Statistics (RANKING) 1.3.1
System - Content Statistics 1.6.0
Content Statistics - Users 1.4.3
Content Statistics (MAP) 1.6.0
Content Statistics - Login (backend) Site Plugin 1.4.1
Error when trying to use maps:
Below are the two errors and the debug. Does anything jump out?
Warning: Invalid argument supplied for foreach() in /home/myserver/public_html/modules/mod_content_statistics_map/tmpl/map.php on line 51
Warning: Division by zero in /home/myserver/public_html/modules/mod_content_statistics_map/tmpl/map.php on line 76
google.load('visualization', '1', {packages:['geochart']});
google.setOnLoadCallback(drawChart1013373194);
var data1013373194 = null ;
function drawChart1013373194() {
data1013373194 = google.visualization.arrayToDataTable([
['State', 'Data'],
]);
var options1013373194 = {
width: 600,
height: 500,
region: 'world',
displayMode: 'regions',
colorAxis: {colors: ['#ff0000', '#00ff00']},
backgroundColor: 'white'
};var chart1013373194 = new google.visualization.GeoChart(document.getElementById('chart_div1013373194'));
chart1013373194.draw(data1013373194, options1013373194);
}
Thank you
Vanessa
/* ************************************************************** */
Maps shows errors x 2:
I am using
JS 2.6.1
Joomla 2.5.8
Content Statistics - JomSocial 1.4.2
Content Statistics (EVOLUTION IN TIME) 1.5.0
Content Statistics (RANKING) 1.3.1
System - Content Statistics 1.6.0
Content Statistics - Users 1.4.3
Content Statistics (MAP) 1.6.0
Content Statistics - Login (backend) Site Plugin 1.4.1
Error when trying to use maps:
Below are the two errors and the debug. Does anything jump out?
Warning: Invalid argument supplied for foreach() in /home/myserver/public_html/modules/mod_content_statistics_map/tmpl/map.php on line 51
Warning: Division by zero in /home/myserver/public_html/modules/mod_content_statistics_map/tmpl/map.php on line 76
google.load('visualization', '1', {packages:['geochart']});
google.setOnLoadCallback(drawChart1013373194);
var data1013373194 = null ;
function drawChart1013373194() {
data1013373194 = google.visualization.arrayToDataTable([
['State', 'Data'],
]);
var options1013373194 = {
width: 600,
height: 500,
region: 'world',
displayMode: 'regions',
colorAxis: {colors: ['#ff0000', '#00ff00']},
backgroundColor: 'white'
};var chart1013373194 = new google.visualization.GeoChart(document.getElementById('chart_div1013373194'));
chart1013373194.draw(data1013373194, options1013373194);
}
Thank you
Vanessa
/* ************************************************************** */
Responses (9)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Hi Just checking on this. Still getting error when using Com_users / user registrations. Please help.-
Germinal Campsmore than a month agoplease check the email :)
-
-
Accepted Answer
0Hi Sent an email back. You have access. Please let me know if you have problems getting in. Would love too get this one resolved soon. Still have the same errors:
Warning: Invalid argument supplied for foreach() in /home/myserver/public_html/modules/mod_content_statistics_map/tmpl/map.php on line 51
Warning: Division by zero in /home/myserver/public_html/modules/mod_content_statistics_map/tmpl/map.php on line 76
Thank you. -
Accepted Answer
0Hi there,
Can a solution for this be posted please, as I am experiencing the same issue - Warning: Division by zero in /home/XXXXXXX/public_html/modules/mod_content_statistics_map/tmpl/map.php on line 76
I'm using Joomla 3.1.5, K2 as the content provider.
If you require any additional information, please let me know.
Kind regards,
Chris
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »