<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.8.1">
</HEAD>
<BODY>
hi list<BR>
<BR>
I use a local lamp installation ( <A HREF="http://xampp.org">http://xampp.org,</A> on ubuntu, debian) on my computer to customise pmwiki. The only thing that gives me an error is the sectionedit plugin.<BR>
<BR>
<B>Warning</B>: array_merge() [<A HREF="http://localhost/netstreams/function.array-merge">function.array-merge</A>]: Argument #2 is not an array in <B>/opt/lampp/htdocs/netstreams/cookbook/sectionedit.php</B> on line <B>256</B><BR>
<BR>
<BR>
/***Check text for includes within and collect pagenames (helper function)*/
<BR>
function SectionEditCheckForIncludes($pagename,$text) {
<BR>
        global $SectionEditIncludes;
<BR>
        /*check whether checked page is in list, then add included pages*/
<BR>
        if (in_array($pagename,$SectionEditIncludes) || ($pagename =='')) {
<BR>
                /*get all occurences of (:include...:)*/
<BR>
                preg_match_all('/\\(:include\\s+(\\S.*?):\\)/',$text,$args);
<BR>
                /*create list of pagenames*/
<BR>
                $args = ParseArgs(implode(" ",$args[1]));
<BR>
                /*create array only containing pagenames*/
<BR>
256->                $SectionEditIncludes = array_merge($SectionEditIncludes,$args['']);
<BR>
                /*remove double page entries*/
<BR>
                $SectionEditIncludes = array_unique($SectionEditIncludes);
<BR>
        }
<BR>
        return;
<BR>
}<BR>
<BR>
<BR>
<BR>
Thats kind of strange cause it works fine on my hosting acount. Also I use some other plugins they work fine. Does anyone have an idea whats the problem here?<BR>
<BR>
Thanks for any suggestions<BR>
nos<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>