Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • To be a little more helpful, using the debug tool I get the following:

    Errors, Warnings, Notices
    
    Notice: Undefined offset: 1 in /home/content/25/4494725/html/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 2423
    
    Notice: Undefined offset: 2 in /home/content/25/4494725/html/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 2424
    
    Notice: Undefined offset: 1 in /home/content/25/4494725/html/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 2424
    
    Notice: Undefined offset: 2 in /home/content/25/4494725/html/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 2425
    
    Notice: Undefined offset: 1 in /home/content/25/4494725/html/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 2425
    
    Warning: mktime() expects parameter 1 to be long, string given in /home/content/25/4494725/html/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 2426

    Referring to these lines:

    function GetTimestampFromMySql($mysqlDateTime) {
    		list($date, $hours) = split(' ', $mysqlDateTime);
    		list($year,$month,$day) = split('-',$date);
    		list($hour,$min,$sec) = split(':',$hours);
    		return mktime($hour, $min, $sec, $month, $day, $year);
    	}

    I am also getting this….

Viewing 2 replies - 1 through 2 (of 2 total)