Download & Extend

Error "Use of undefined constant link_url" on default homepage

Project:Views
Version:7.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:Commons, Drupal Commons, views

Issue Summary

The current master version will have this error message on the default homepage:

"Error message Notice: Use of undefined constant link_url - assumed 'link_url' in views_plugin_display->get_path() (line 788 of /vagrant/commons_files/profiles/commons/modules/contrib/views/plugins/views_plugin_display.inc). Notice: Use of undefined constant link_url - assumed 'link_url' in views_plugin_display->get_path() (line 788 of /vagrant/commons_files/profiles/commons/modules/contrib/views/plugins/views_plugin_display.inc)."]

Comments

#1

i am getting this too.

#2

ok it's a typo in the file

return link_url; should add "$" return $link_url;

#3

Project:Drupal Commons» Views
Version:7.x-3.x-dev» 7.x-3.x-dev

There is a small typo in views

#4

Status:active» needs review

#2

AttachmentSizeStatusTest resultOperations
views-link_url-1879290.patch438 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 1,603 pass(es).View details

#5

Status:needs review» fixed

dawehner--

Thank you for fixing that!

#6

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here