Closed (fixed)
Project:
960 Robots
Version:
6.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2009 at 19:25 UTC
Updated:
5 Jun 2009 at 20:47 UTC
Hi,
When trying to access any content with this theme enabled I get:
Fatal error: Call to undefined function profile_load_profile() in /home/heebie/public_html/blog/sites/all/themes/ninesixtyrobots/template.php on line 63
and nothing else loads.
Any ideas?
Thanks,
heebie.
Comments
Comment #1
Rhino commentedI tested it just to see what it lookeed like and get the exact same thing. Can one turn off the profile_real_name-feature somehow?
Comment #2
jbrauer commentedUntested but this should work if you change line 61 of template.php to:
if ($object->uid && $object->name && module_exists('profile')) {
Comment #3
Rhino commentedYes! Tested that, and it works like a dream. Thank you.
Pretty theme too.
Comment #4
B747 commentedI can confirm this works.
Comment #5
plastique commentedAnother confirmation, the fix works!
Comment #6
ericatkins commentedGot the same error and #2's fix worked.
Comment #7
jjeff commentedThanks for the fix!
This has been fixed in the 2.x development branch and will be included in the next release.
http://drupal.org/node/470132/release
p.s. We're keeping the 1.x branch as-is so that it matches up with the examples on the Drupal theming videos. The 2.x branch will contain all fixes and improvements for general use.
Comment #8
jjeff commentedJust rolled 2.0-beta1. This fix is included in this release.
Comment #9
Rhino commentedThank you, it's a really nice looking theme and a great tutorial.
Comment #10
hypatia7777 commentedLovely theme! Unforunately I got this error when I tried to activate it:
Fatal error: Can't use function return value in write context in .../sites/all/themes/ninesixtyrobots/template.php on line 64
Comment #11
jjeff commentedFixed.
Now rolling new release: 6.x-2.0-beta2.
Comment #12
Stefanos Karagos commentedI suppose that you have to create a new release for your DVD now?
Comment #13
jjeff commentedHa! Actually, this problem was created as a result of a different "fix" to the theme.
Comment #14
jjeff commented