Posted by Digidog on January 14, 2012 at 5:20am
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | language system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (cannot reproduce) |
Issue Summary
Not sure from where to where the dependencies go here, but after git pull origin 8.x and cache/db refresh I get about xx lines of this notice with changing modules affected all over the place:
Notice: Undefined property: stdClass::$langcode in drupal_lookup_path() (line 77 of /home/digidog/www/drupal8/core/includes/path.inc).
Notice: Undefined property: stdClass::$langcode in drupal_lookup_path() (line 77 of /home/digidog/www/drupal8/core/includes/path.inc).
Notice: Undefined property: stdClass::$langcode in drupal_lookup_path() (line 77 of /home/digidog/www/drupal8/core/includes/path.inc).
Notice: Undefined property: stdClass::$langcode in drupal_lookup_path() (line 77 of /home/digidog/www/drupal8/core/includes/path.inc).
Notice: Undefined property: stdClass::$langcode in drupal_lookup_path() (line 77 of /home/digidog/www/drupal8/core/includes/path.inc).
Notice: Undefined property: stdClass::$langcode in drupal_lookup_path() (line 77 of /home/digidog/www/drupal8/core/includes/path.inc).
Notice: Undefined property: stdClass::$langcode in drupal_lookup_path() (line 77 of /home/digidog/www/drupal8/core/includes/path.inc).
Notice: Undefined property: stdClass::$langcode in template_preprocess_html() (line 2356 of /home/digidog/www/drupal8/core/includes/theme.inc).
Notice: Undefined property: stdClass::$langcode in drupal_lookup_path() (line 77 of /home/digidog/www/drupal8/core/includes/path.inc).
Notice: Undefined property: stdClass::$langcode in admin_menu_init() (line 145 of /home/digidog/www/drupal8/sites/all/modules/admin_menu/admin_menu.module).
Notice: Undefined property: stdClass::$langcode in drupal_lookup_path() (line 77 of /home/digidog/www/drupal8/core/includes/path.inc).
Notice: Undefined property: stdClass::$langcode in _node_types_build() (line 685 of /home/digidog/www/drupal8/core/modules/node/node.module).
Notice: Undefined property: stdClass::$langcode in _node_types_build() (line 685 of /home/digidog/www/drupal8/core/modules/node/node.module).
Notice: Undefined property: stdClass::$langcode in drupal_lookup_path() (line 77 of /home/digidog/www/drupal8/core/includes/path.inc).
Notice: Undefined property: stdClass::$langcode in drupal_deliver_html_page() (line 2469 of /home/digidog/www/drupal8/core/includes/common.inc).
Notice: Undefined property: stdClass::$langcode in _node_types_build() (line 685 of /home/digidog/www/drupal8/core/modules/node/node.module).
Notice: Undefined property: stdClass::$langcode in menu_tree_page_data() (line 1217 of /home/digidog/www/drupal8/core/includes/menu.inc).
Notice: Undefined property: stdClass::$langcode in _menu_build_tree() (line 1369 of /home/digidog/www/drupal8/core/includes/menu.inc).
Notice: Undefined property: stdClass::$langcode in _node_types_build() (line 685 of /home/digidog/www/drupal8/core/modules/node/node.module).
Notice: Undefined property: stdClass::$langcode in _node_types_build() (line 685 of /home/digidog/www/drupal8/core/modules/node/node.module).
Notice: Undefined property: stdClass::$langcode in admin_menu_output() (line 375 of /home/digidog/www/drupal8/sites/all/modules/admin_menu/admin_menu.module).
Notice: Undefined property: stdClass::$langcode in menu_tree_page_data() (line 1217 of /home/digidog/www/drupal8/core/includes/menu.inc).
Notice: Undefined property: stdClass::$langcode in _menu_build_tree() (line 1369 of /home/digidog/www/drupal8/core/includes/menu.inc).
Notice: Undefined property: stdClass::$langcode in menu_tree_page_data() (line 1217 of /home/digidog/www/drupal8/core/includes/menu.inc).
Notice: Undefined property: stdClass::$langcode in _menu_build_tree() (line 1369 of /home/digidog/www/drupal8/core/includes/menu.inc).Hm ... To make sure that I didn't double notice occuring by content, I have deleted all content before. So we have a naked and clean 8.x mirror here from issue creation time stamp.
Comments
#1
to reproduce ...
... just to make sure we need to know which core modules have been enabled here
(image removed ... too wide // link is below --> )
#2
I've tried to reproduce this issue without success.
Process:
1. Install drupal-8.x-dev from git.
2. debug() statements to investigate value of langcode property in
3. Clear cache – no notices.
4. Installed and enabled admin_menu, cleared cache, langcode property set in all places, no notices.
5. Installed and enabled admin_devel, cleared cache, langcode property set in all places, no notices.
6. Installed and enabled devel, cleared cache, langcode property set in all places, no notices.
7. Disabled color, cleared cache, langcode property set in all places, no notices.
8. Disabled dashboard, cleared cache, langcode property set in all places, no notices.
9. Disabled database logging, cleared cache, langcode property set in all places, no notices.
10. Disabled help, cleared cache, langcode property set in all places, no notices.
11. Disabled overlay, cleared cache, langcode property set in all places, no notices.
12. Disabled rdf, cleared cache, langcode property set in all places, no notices.
13. Disabled search, cleared cache, langcode property set in all places, no notices.
14. Disabled shortcut, cleared cache, langcode property set in all places, no notices.
15. Enabled syslog, cleared cache, langcode property set in all places, no notices.
16. Disabled update manager, cleared cache, langcode property set in all places, no notices.
#3
Thanks for taking time to reproduce, but ...
Between the date of reproducing the issue with a fresh 8.x git clone from the 16th and the issue report before are about 2 days of several commits preceding. So, reproducing such a minimal issue without knowing from what it has been caused in such detail is quite useless and may be relevant if the issue persists only, or if it has been tried with the same git version.
But thanks anyway ...
#4
feel free to reopen for any other reports ...