On Dec 9, 2007 6:49 PM, Hans <[EMAIL PROTECTED]> wrote: > I am getting these 'notices' when using in config.php: > error_reporting(E_ALL); > > Notice: Undefined offset: 2 in E:\www\softflow\pmwiki\scripts\markupexpr.php > on line 81 > > Notice: Undefined index: # in E:\www\softflow\pmwiki\scripts\markupexpr.php > on line 94 > > Notice: Undefined offset: 1 in > E:\www\softflow\pmwiki\scripts\markupexpr.php(103) : eval()'d code on line 1 > > > and when I include markupexprplus.php I get similar errors: > > > Notice: Undefined offset: 3 in > E:\www\softflow\pmwiki\cookbook\markupexprplus.php on line 106 > > Notice: Undefined index: # in > E:\www\softflow\pmwiki\cookbook\markupexprplus.php on line 119 > > Notice: Undefined offset: 1 in > E:\www\softflow\pmwiki\cookbook\markupexprplus.php(128) : eval()'d code on > line 1 > > > > Hans > > > _______________________________________________ > pmwiki-devel mailing list > pmwiki-devel@pmichaud.com > http://www.pmichaud.com/mailman/listinfo/pmwiki-devel >
The first two notices (of both script) could be safely solved using the @ operator. The last one merely indicate that the resulting expression isn't compliant with the php syntax. Could you please give the definition of the MarkupExpr function which is triggering this error? Thanks for the report, Dominique _______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel