It is not a warning (or bug). It seems that your php.ini is configured also to report "notices" which are irrelevant.
-- from php manual --
Note:
Enabling E_NOTICE during development has some benefits. For debugging purposes: NOTICE messages will warn you about possible bugs in your code. For example, use of unassigned values is warned. It is extremely useful to find typos and to save time for debugging. NOTICE messages will warn you about bad style. For example, $arr[item] is better to be written as $arr since PHP tries to treat "item" as constant. If it is not a constant, PHP assumes it is a string index for the array.
"pathinfo" is exactly used the way the php manual describes (
de2.php.net/pathinfo
). Nevertheless the notice might only be displayed when an attachment is added (it is a first time report and I also use the plugin on several sites with notices on).
Switch off "notices" in your php.ini or add
www.php.net/manual/en/function.error-reporting.php
at the beginning of the script.