Recent Topics

Problem with catsel

Started by on Sep 18, 2013 – Contents updated: Feb 20, 2014

Sep 18, 2013 00:50    

b2evo505: Trying to display a selection of categories, both in local and in demo (http://demo3.b2evolution.net/stable/index.php?catsel%5B%5D=3&catsel%5B%5D=4) I got this error:

Fatal error: Call to a member function get() on a non-object in /home/b2evodemo/www/stable/inc/skins/_skin.funcs.php on line 905

Can you take a look at it?

Thanks

Sep 27, 2013 18:56

Well, as nobody answers, i did the ugly solution:

as I don't care about categories_meta_description, in line 903 of /inc/skins/_skins.function.php
I added
global $catsel;

and replaced
if( $Blog->get_setting( 'categories_meta_description') )
by
if( $Blog->get_setting( 'categories_meta_description') && empty($catsel) )

Sep 27, 2013 19:46

Thanks @fede,

We will keep an eye on this and let you know.

Oct 01, 2013 21:48

This issue was fixed and will be included in the next standard release.

Thanks.


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.