This warning is caused by my list of "All base paths for this site" ending with an empty line. I think you should better check on !empty() instead of isset() (which checks on null, not the empty string).

Comments

fietserwin’s picture

Hmmm, It is not an empty line, it is ending with a new line (which should be allowed). So I guess that explode() (correctly) explodes the string "/mypath\r\n" into an array with 2 entries: /mypath (without \r after trim() and the empty string. Anyway, IMO it would be better better to ignore empty strings in the for each loop in _pathologic_filter().

afoster’s picture

I got this error when I had an empty line in the pathologic settings on my input format. It was installed with features so I think that's how an empty line was saved in there. Removing the empty line stopped the error.

Garrett Albright’s picture

Thanks for the heads up. This was an easy one to fix. I'll try to get a release with the fix out by the end of the day.

Garrett Albright’s picture

Status: Active » Fixed

I didn't get it done yesterday, but I just did now. Please give it a download - it should make this bug disappear.

Status: Fixed » Closed (fixed)

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