I'm getting the following warning when I go to the Text Filters page and enable the conditional text filter:

Notice: Undefined index: installed in {closure}() (line 31 of [MY DIRECTORY PATH]/conditional_text.inc).

Note: on my test box, I have PHP warnings set to the strictest possible setting. This is always useful for testing purposes...

Comments

jhodgdon’s picture

I get some more warnings when I attempt to display a page using the conditional format:

* Notice: Undefined offset: 1 in {closure}() (line 12 of /opt/home/jhodgdon/gitrepos/condtext/plugins/condition/installed.inc).
* Notice: Undefined offset: 1 in {closure}() (line 12 of /opt/home/jhodgdon/gitrepos/condtext/plugins/condition/installed.inc).
* Notice: Undefined offset: 2 in {closure}() (line 7 of /opt/home/jhodgdon/gitrepos/condtext/plugins/condition/installed.inc).
* Notice: Undefined offset: 1 in {closure}() (line 7 of /opt/home/jhodgdon/gitrepos/condtext/plugins/condition/installed.inc).
* Notice: Undefined offset: 1 in {closure}() (line 12 of /opt/home/jhodgdon/gitrepos/condtext/plugins/condition/installed.inc).
* Notice: Undefined offset: 1 in {closure}() (line 12 of /opt/home/jhodgdon/gitrepos/condtext/plugins/condition/installed.inc).
* Notice: Undefined offset: 1 in {closure}() (line 12 of /opt/home/jhodgdon/gitrepos/condtext/plugins/condition/installed.inc).
* Notice: Undefined offset: 1 in {closure}() (line 12 of /opt/home/jhodgdon/gitrepos/condtext/plugins/condition/installed.inc).

jhodgdon’s picture

Status: Active » Fixed

These warnings have gone away.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.