Hi,

I am facing very critical issue with Views, I have enabled views and created new view it works fine. When I want to override the template for this view, it shows all existing views templates in RED colour as given below :

  • Display output: views-view.tpl.php (File not found, in folder ./), views-view--test.tpl.php, views-view--default.tpl.php, views-view--default.tpl.php, views-view--page.tpl.php, views-view--test--page.tpl.php
  • Style output: views-view-unformatted.tpl.php (File not found, in folder ./), views-view-unformatted--test.tpl.php, views-view-unformatted--default.tpl.php, views-view-unformatted--default.tpl.php, views-view-unformatted--page.tpl.php, views-view-unformatted--test--page.tpl.php
  • Row style output: .tpl.php, --test.tpl.php, --default.tpl.php, --default.tpl.php, --page.tpl.php, --test--page.tpl.php

When I tried to debug this issue, I found there is following notices coming :
Notice: Undefined index: theme in views_plugin->theme_functions() (line 529 of C:\wamp\www\test\trunk\sites\all\modules\views\includes\plugins.inc).

I have also attached the screenshot of same, please help me to resolve this issue.

Files: 
CommentFileSizeAuthor
views_template_path_issue.png125.8 KBer.pushpinderrana

Comments

I have disabled devel and devel themer module, now this error gone away.

Can anybody suggest me why devel module is conflicting with Views.

I can confirm that this is a conflict with the Devel module. When it is enabled, at line 2183 in views/plugins/views_plugins_display.inc, $registry[$theme]['path'] is never set. When disabled, $registry[$theme]['path'] does occasionally exist.

This problem still exists in combination with the latest Views and Devel module:
Devel: 7.x-1.3
Views: 7.x-3.7

Version:7.x-3.0-rc1» 7.x-3.7
Issue summary:View changes