Closed (outdated)
Project:
Views Delimited List
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2013 at 13:37 UTC
Updated:
14 Aug 2024 at 22:11 UTC
Jump to comment: Most recent
Comments
Comment #1
zhangtaihao commentedAdding
$rows = array();will in fact empty all results, so please don't do it as you will see nothing from the view.The reason for the error is that the
classesvariable has somehow been set to'25'(perhaps by a module globally preprocessing classes).I have updated the template (b14a805) to conform with Views D7 template style. That should circumvent the issue.
Comment #3
jorditr commentedI'm back to the project were I found that trouble. I could not find anything on your correction. The block is a list of a taxonomy vocabulary. Replacing the vocabulary for another with more items, the list of warnings was even bigger. Looking at the line that the PHP notice is pointing:
print '<span class="' . $classes[$i] . '">';I realized that maybe "$classes" is not inicialized: what is supposed to replace? When I changed that line by:
print '<span class="t-' . $i . '">';The message is gone, and everything works properly, every span having an individual class.
Comment #4
jorditr commentedI forgot to reopen the thread :-)
Comment #4.0
jorditr commentedSmall mistake on code.
Comment #5
colanIs this still a problem in D8+?
Comment #6
mparker17Closing as "Outdated" because the issue has been sitting in "Needs more info" for 3 years with no response.