你好:
我的網站出現了這樣的錯誤訊息:
Notice:Undefined property: stdClass::$uid 於 ctools_context_create_user() (/var/www/html/drupal/sites/all/modules/ctools/plugins/contexts/user.inc 中的第 61 行)。
Notice:Undefined property: stdClass::$uid 於 ctools_context_create_user() (/var/www/html/drupal/sites/all/modules/ctools/plugins/contexts/user.inc 中的第 61 行)。
Notice:Undefined property: stdClass::$uid 於 ctools_context_create_user() (/var/www/html/drupal/sites/all/modules/ctools/plugins/contexts/user.inc 中的第 61 行)。
Notice:Undefined property: stdClass::$uid 於 user_access() (/var/www/html/drupal/modules/user/user.module 中的第 802 行)。
Notice:Undefined property: stdClass::$uid 於 user_access() (/var/www/html/drupal/modules/user/user.module 中的第 814 行)。
Notice:Undefined property: stdClass::$roles 於 user_access() (/var/www/html/drupal/modules/user/user.module 中的第 815 行)。
Notice:Undefined property: stdClass::$uid 於 user_access() (/var/www/html/drupal/modules/user/user.module 中的第 821 行)。
Notice:Undefined property: stdClass::$uid 於 user_access() (/var/www/html/drupal/modules/user/user.module 中的第 824 行)。
但是有的頁面不會, 請問一下是什麼問題? 要如何解決呢?
这里有类似的问题,https://drupal.org
这里有类似的问题,https://drupal.org/node/1530334,但是没有答案。
建议你将所有的模块升级到最新的稳定版本,或许是因为模块冲突了,比如Ctools和quicktabs?就有冲突,升级到最新的版本问题就没有了。
你好:
你好:
我已將所有模組升級到最新的版本了, 但依然有相同的問題, 我的頁面都是用 Panels作 Layout, 沒有用 panels 作的頁面沒這問題 ? 是 panels 的問題嗎 ?
或许是模块冲突了,你单装Panels模块
或许是模块冲突了,你单装Panels模块,看看有没有这样的问题,然后使用我在Drupal实战里面介绍的二分排除法,找出哪两个模块冲突了。