Recent Topics

[2.x] I got an error - here is the solution

Started by on Feb 02, 2011 – Contents updated: Feb 02, 2011

Feb 02, 2011 22:04    

My b2evolution Version: 2.x

I just thought I should share how I solved an problem I got.

I wanted to make a custom template and used the template "Custom". Then I followed the instructions on

I got the following error message in the title:

<b>Warning</b>: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in <b>/home/odla/public_html/tradgardsblogg/inc/_core/_template.funcs.php</b> on line <b>312</b><br />

The solution to the problem is to change this in index.main.html:
$Blog->disp('name', 'htmlhead');
request_title( ' - ', '', ' - ', 'htmlhead' );

to this:
// ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
request_title( array(
'auto_pilot' => 'seo_title',
) );
// ------------------------------ END OF REQUEST TITLE -----------------------------

Feb 03, 2011 08:56

That means I have to start thinking 8| I saw that earlier but didn´t get it fast enough, and decided it didn´t apply to me. (Yeah, I´m lazy and want quick fixes. Or maybe it is because I have to get this thing going as fast as possible.)

Jun 26, 2011 19:09

confused here: can I use this fix or not? 8|

Jun 26, 2011 20:16

This is only one of many steps you need to do to make v1 skins work in later versions of b2evolution.

Jun 30, 2011 15:16

Think it will me easier to switch to another skin then, thanks.

Form is loading...

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