Plugin Author
Tim W
(@timwhitlock)
Hi. Thanks for this.
The undefined property is my bad. I’ll release a patch for that ASAP.
However, the reason I missed my error is that this situation shouldn’t be happening at all. If the admin menu callback is firing then the property should exist. Could you tell me more about your environment and when you see the error?
Is it during Ajax, or a normal page view?
Plugin Author
Tim W
(@timwhitlock)
The development branch fixes the undeclared property error.
I was still unable to reproduce a situation where the error would occur though.
Please let me know the the fix works, and if you can shed any light on what you did to catch it. Thanks.
I can confirm this notice shows when AJAX request is made to async-upload.php.
Plugin Author
Tim W
(@timwhitlock)
Thanks for confirming.
Interesting that the admin_menu hook fires for async-upload.php, because it doesn’t for admin-ajax.php. Anyway, I’ve fixed the error in dev. Will go live in the next release.
I also tried to apply the patch and it seems to work ok. Thanks for fixing.
-
This reply was modified 8 years, 3 months ago by
Jiri Hon.