When I try to create a new account from the front end I am getting the error - Fatal error: Call to a member function init() on a non-object in /nfs/c01/h16/mnt/1658/domains/riverside.bluedragondesigns.com/html/templates/rt_radiance/html/com_users/registration/default.php on line 18
When I try to edit a profile from the front I get Fatal error: Call to a member function init() on a non-object in /nfs/c01/h16/mnt/1658/domains/riverside.bluedragondesigns.com/html/templates/rt_radiance/html/com_users/profile/edit.php on line 21
I only get these errors when I have a rt in use. I am using K2 for content and user module. This is a new install, still in testing, everything downloaded today.
- My website URL is:
riverside.bluedragondesigns.com
- My Joomla version number is Joomla! 2.5.4
- My Rockettheme template version number is: Radiance v1.2
- My Gantry version number is 3.2.19
Did you get the error before installing K2? There are several posts on their forum about "Fatal error: Call to a member" errors. I would start by searching there.
B
e courteous to staff and members that volunteer their time helping you E
ssential Tool - FireBug N
ever assume I know what version you're talking about
S
earch the forum for a solution first I
nclude a link to the problem M
ark your resolved issues as [SOLVED] O
nly PM moderators if they request it first N
o...
I'm not sure how much help I can be if the problem isn't caused by a RocketTheme template or extension. Perhaps others in the forum can help. I would still say K2 is the best place to get assistance with this particular problem.
B
e courteous to staff and members that volunteer their time helping you E
ssential Tool - FireBug N
ever assume I know what version you're talking about
S
earch the forum for a solution first I
nclude a link to the problem M
ark your resolved issues as [SOLVED] O
nly PM moderators if they request it first N
o...
No, no, the problem only began after I installed and activated TR Radiance. I also tried a few other RT templates with the same result, but when I went back to the default template the problem went away. It is definitely related to the template.
If something is wrong in templates/rt_radiance/html/com_users/registration/default.php you can just override it with default joomla one. Take a look at this:
www.rockettheme.com/forum/index.php?f=54..._v=viewtopic#p731708
This post from Kat also suggests updating the template to fix the issue although you may already have the latest version.
B
e courteous to staff and members that volunteer their time helping you E
ssential Tool - FireBug N
ever assume I know what version you're talking about
S
earch the forum for a solution first I
nclude a link to the problem M
ark your resolved issues as [SOLVED] O
nly PM moderators if they request it first N
o...
Ok, I did that with no change, I can log in from the front, just not create a new account or edit an existing one. I looked at the lines that are showing up as the problem and while it is in a slightly different place in each error (line 21in profile/edit.php and line 18 in registration/default.php), it seems to be the same code that is the problem:
require_once(JPATH_LIBRARIES.'/gantry/gantry.php');
$gantry->init();
So i guess the problem is with gantry? My Gantry version number is 3.2.19
If you replaced it with the Joomla default user module you shouldn't see any references to Gantry.
B
e courteous to staff and members that volunteer their time helping you E
ssential Tool - FireBug N
ever assume I know what version you're talking about
S
earch the forum for a solution first I
nclude a link to the problem M
ark your resolved issues as [SOLVED] O
nly PM moderators if they request it first N
o...
Ok, just tried that and I'm still getting the same error:
Fatal error: Call to a member function init() on a non-object in /nfs/c01/h16/mnt/1658/domains/riverside.bluedragondesigns.com/html/templates/rt_radiance/html/com_users/registration/default.php on line 18