Error when enabling
B747 - May 23, 2009 - 19:25
| Project: | 960 Robots |
| Version: | 6.x-2.0-beta1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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.

#1
I 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?
#2
Untested but this should work if you change line 61 of template.php to:
if ($object->uid && $object->name && module_exists('profile')) {
#3
Yes! Tested that, and it works like a dream. Thank you.
Pretty theme too.
#4
I can confirm this works.
#5
Another confirmation, the fix works!
#6
Got the same error and #2's fix worked.
#7
Thanks 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.
#8
Just rolled 2.0-beta1. This fix is included in this release.
#9
Thank you, it's a really nice looking theme and a great tutorial.
#10
Lovely 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
#11
Fixed.
Now rolling new release: 6.x-2.0-beta2.
#12
I suppose that you have to create a new release for your DVD now?
#13
Ha! Actually, this problem was created as a result of a different "fix" to the theme.
#14