Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: Rhino commentedYes! Tested that, and it works like a dream. Thank you.
Pretty theme too.
Comment #4
B747 CreditAttribution: B747 commentedI can confirm this works.
Comment #5
plastique CreditAttribution: plastique commentedAnother confirmation, the fix works!
Comment #6
ericatkins CreditAttribution: ericatkins commentedGot the same error and #2's fix worked.
Comment #7
jjeff CreditAttribution: 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 CreditAttribution: jjeff commentedJust rolled 2.0-beta1. This fix is included in this release.
Comment #9
Rhino CreditAttribution: Rhino commentedThank you, it's a really nice looking theme and a great tutorial.
Comment #10
hypatia7777 CreditAttribution: 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 CreditAttribution: jjeff commentedFixed.
Now rolling new release: 6.x-2.0-beta2.
Comment #12
Stefanos Karagos CreditAttribution: Stefanos Karagos commentedI suppose that you have to create a new release for your DVD now?
Comment #13
jjeff CreditAttribution: jjeff commentedHa! Actually, this problem was created as a result of a different "fix" to the theme.
Comment #14
jjeff CreditAttribution: jjeff commented