I dont know what this mean, I try search for this, but no result

notice: Undefined variable: output in \htdocs\sites\all\modules\webfm\webfm.module on line 640.
notice: Undefined property: stdClass::$webfm_files in \htdocs\sites\all\modules\webfm\webfm.module on line 663.
notice: Undefined index: attachlist in \htdocs\sites\all\modules\webfm\webfm.module on line 670.
notice: Undefined variable: show_files in \htdocs\sites\all\modules\webfm\webfm.module on line 673.

my machine : dru6.x-dev (2008-Dec-06), Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5

thanks

CommentFileSizeAuthor
#2 webfm.module.patch1.64 KBrobmilne

Comments

robmilne’s picture

I've never seen these kinds of errors before. Is drupal functioning OK with this module disabled?

robmilne’s picture

StatusFileSize
new1.64 KB

OK, your setup appears to less forgiving wrt objects that don't exist. This patch should clean up the above errors but there are many instances where I use if(object) to condition an action. Using isset() or equivalent is good practice - especially for compiled code - but PHP has never complained to me about it.

nhck’s picture

Status: Active » Needs review
nhck’s picture

Status: Needs review » Closed (fixed)

This has been committed a long time ago. Thank you rob :-)