Recent Topics

1 Jan 15, 2012 20:12    

There is error in users admin, not in main admin, last version updated 4.1.1 and also after update 4.1.2

version Warning: array_slice() expects parameter 1 to be array, null given in /home/www/c3a9c29ae0a7f5d3ac182ca0b51c508d/web/blog/inc/_core/ui/_menu.class.php on line 128

Warning: array_slice() expects parameter 1 to be array, null given in /home/www/c3a9c29ae0a7f5d3ac182ca0b51c508d/web/blog/inc/_core/ui/_menu.class.php on line 130

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/www/c3a9c29ae0a7f5d3ac182ca0b51c508d/web/blog/inc/_core/ui/_menu.class.php on line 131

Warning: array_merge() [function.array-merge]: Argument #3 is not an array in /home/www/c3a9c29ae0a7f5d3ac182ca0b51c508d/web/blog/inc/_core/ui/_menu.class.php on line 131

thanks a lot for answer and help !!!

3 Jan 16, 2012 16:36

Thanks for answer but not sure of what need to do, reading the thread there is two things to do ? sorry and thanks for your time.

4 Jan 19, 2012 01:23

Just apply the following changes
Add this to the end of /inc/_core/_misc.funcs.php

if( ! function_exists('array_combine') )
{
	// Floats are casted to strings to avoid overwriting
	function array_combine( $arr1, $arr2 )
	{
		$out = array();

		$arr1 = array_values($arr1);
		$arr2 = array_values($arr2);

		foreach( $arr1 as $key1 => $value1 )
		{
			$out[(string)$value1] = $arr2[$key1];
		}

		return $out;
	}
}


Form is loading...