Recent Topics

1 Nov 12, 2007 02:22    

this shows up right above my page numbers towards the bottom of my blog. Any ideas?

www.itchintoscrap.com/blogs

Notice: Only variable references should be returned by reference in /hsphere/local/home/itchinto/itchintoscrap.com/blogs/inc/_core/_template.funcs.php on line 428

2 Nov 12, 2007 03:16

Hi,

What is the exact version of B2evo you are using?
To eliminatethe warning: add:

error_reporting(E_ALL ^ E_NOTICE);


somewhere below the first <?php in index.main.php from your skin (evopress)

Good luck

3 Nov 12, 2007 03:21

b2evo v 2.1.0-beta

put it in and still there 8|

4 Nov 12, 2007 03:37

a) In blogs/inc/_core/_template.funcs.php find arond line 428:

/**
 * Stub
 *
 * @return Item
 */
function & mainlist_get_item()
{
	global $MainList;

	if( isset($MainList) )
	{
		return $MainList->get_item();
	}

	$r = NULL;
	return $r;
}


and change to:

/**
 * Stub
 *
 * @return Item
 */
function & mainlist_get_item()
{
	global $MainList;

	if( isset($MainList) )
	{
		$temp = & $MainList->get_item();
                return $temp;
	}

	$r = NULL;
	return $r;
}


or b) in ../blogs/conf/_advanced.php change line 37:

error_reporting( E_ALL );


in

error_reporting( E_ALL ^E_NOTICE );

Good luck

5 Nov 12, 2007 04:03

yippy the second one worked. ZANK YOU SOOOOOO MUCH!

6 Nov 15, 2007 04:04

hi there... this is not sth i do generally .. signing up to "thank" :-/ ..

but this time i felt i had to..

i had the exact problem and it has been solved.. thank you very very much..

its good to know there are still kind people caring bout others :oops:

ty with great love.. take care..

7 Nov 20, 2007 06:52

Thank you too. I had the same problem. Now gone by changing to

$temp = & $MainList->get_item();
return $temp;

8 Dec 01, 2007 21:20

I just have to add my thanks. The quick solution for a very annoying problem.


Form is loading...