[pmwiki-users] Fatal error: [] operator not supported for strings

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 30 12:12:43 CST 2006


On Sun, Oct 29, 2006 at 09:27:46AM -0700, dso wrote:
> I figured out the problem with this.  The examples from
> http://www.pmwiki.org/wiki/Cookbook/SearchPatterns
> have some with ['variable'][] and some without the trailing [].
> The trailing [] is only needed apparently when more than one item is
> added to the array.  So the first item is fine without it but the next
> item errors.
> 
> The solution is to use the trailing [] on all entries.

Now fixed in the Cookbook page, thanks!

Pm




More information about the pmwiki-users mailing list