I am getting lots of errors similar to those pasted below after installing the core patch. I believe my Drupal 6.22 system meets all of the module's requirements and I followed the instructions in INSTALL.txt. If I revert the patch the errors go away. Anyone have an idea as to what might be going on?
Notice: Undefined index: #node in links_related_form_alter() (line 210 of /var/www/html/sites/all/modules/links/links_related.module).
Notice: Trying to get property of non-object in links_related_form_alter() (line 235 of /var/www/html/sites/all/modules/links/links_related.module).
Notice: Undefined index: type in links_weblink_form_alter() (line 612 of /var/www/html/sites/all/modules/links/links_weblink.module).
Notice: Undefined index: search_theme_form_keys in search_config_form_alter() (line 38 of /var/www/html/sites/all/modules/search_config/search_config.module).
Notice: Undefined index: #type in template_preprocess_search_theme_form() (line 1109 of /var/www/html/modules/search/search.module).
Comments
Comment #1
rfayI would be very surprised if these errors have anything to do with the simpletest patch.
It's possible that there's something wrong with the links module or the search_config module.
Comment #2
dave reidI'm doubtful as well - nothing actually indicates a problem with simpletest. Maybe because it's exposing more errors you're seeing errors that are normally suppressed.
Comment #3
rwsimmo commentedI see your point and I agree. However, if I move around my site a bit I actually see similar errors from common modules like Search, Event, and Views:
Notice: Undefined index: #type in template_preprocess_search_theme_form() (line 1109 of /var/www/html/modules/search/search.module).
Notice: Undefined property: stdClass::$event in event_token_values() (line 3337 of /var/www/html/sites/all/modules/event/event.module).
Notice: Undefined property: stdClass::$unknown in views_handler_field->render() (line 437 of /var/www/html/sites/all/modules/views/handlers/views_handler_field.inc).
So, I can't be the only one seeing these types of errors right? Do you all see these types of errors on your sites are well? If you do what do you do about it? Do you just have Simple Test installed while doing developer testing and remove it for QA and production?
Comment #5
abarpetia commentedDoes any one got solution for this error messages? I updated my Drupal core to 6.33 and after that i am getting this messages.
Comment #6
dkinzer commented@abarpetia What version of PHP are you running?