Closed (duplicate)
Project:
Urban Solice
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 May 2011 at 08:38 UTC
Updated:
2 Dec 2012 at 22:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
witchcraft commentedsame issue
Comment #2
r3ady4the3nd commentedsame problem too
Comment #3
IsaacParke commentedSame issue here.
Comment #4
craigkendall commentedI know it's not a fix, but I commented out line 15 in page.tpl.php
Make sure you clear your cache ( ADMINISTRATION > PERFORMANCE > Clear all caches ) after you save and upload the file for the change to take effect.
That'll get you till a fix appears... now... hmm... what's causing this?
Comment #5
silkogelman commentedfixed by changing
if ($user_links)to
if (isset($user_links))in
UrbanSolice/templates/page.tpl.php
please test.
Comment #6
silkogelman commentedstatus -> needs review
Comment #7
IsaacParke commentedSeems to fix it, thanks!
Comment #8
Anonymous (not verified) commentedApplied patch manually -> no more errors.
Thanks
Comment #9
acrollet commentedthe patch in #5 works for me...
Comment #10
Caffeine Addict commentedThat patch didn't work for me, I had to add the curly braces round the value :
+
if (isset($user_links)) { print theme('links', $user_links); }Caching is off and i even changed browsers to test between changes and i definatly needed the {}
Comment #11
zet commentedActually does this print theme('links', $user_links); print something for anybody ?
(after or before doing the required in this issue to solve the Undefined variable notice )
For me is just an empty div wrapper in the upper right corner, regardless of anonymous/admin/regular user
(
<div id="user-links" class="clearfix"></div>)Comment #12
yareckon commentedThe real solution is to rename the function in template.php from urbansolice_preprocess_page to urban_solice_preprocess_page. That will fill in these variables that they are incorrectly setting. urbansolice_myfunction is never gonna get fired because the machine name of the module is urban_solice. Don't ask me why the project on drupal.org is called "UrbanSolice".. sounds like a lot of renaming going on.
Comment #13
fathershawnThis is a duplicate of #1193374: Error message for drupal 7. Since that issue is assigned to a maintainer, I'm moving further discussion there...
Comment #14
fathershawnComment #15
wuchonder commentedComment #16
somekyleguy commentedThere's your fix. Everyone is welcome <3
Comment #17
netdesignate commentedThis [#10 & #15] worked for me (as an edit to page.tpl.php)
THANKS!!!