View Full Version : i Have error code in "gab_class_core.php"

09-12-2006, 06:26 AM
in my ACP i see that one:

Warnung: array_merge() [function.array-merge]: Argument #2 is not an array in /geek/gab/includes/gab_class_core.php (Zeile 43)

What hell i do?

The Geek
09-12-2006, 07:59 AM
Insert this before line 43:
$globaltemplates = array();

That will sort you for right now!

09-12-2006, 08:36 AM
Okey.. that's it :)

09-12-2006, 08:50 AM
Edit: Sorry, it's not working.

If i put these Code in the File, than my Design will not be show.

The Geek
09-12-2006, 08:59 AM
What do you mean?

09-12-2006, 09:25 AM
If i copy your code in the file, then the style ist not seen in the forum.
There ist just a white side with text and screens :D , no Style...

The Geek
09-12-2006, 02:02 PM
That doesnt make sense.

If you remove the code you get an not an array error?

The Geek
09-12-2006, 02:04 PM
instead of the fix I mentioned above, put this in:

if (!is_array($globaltemplates))
$globaltemplates = array();