• Главная
  • Support
  • Forum
  • Cobalt 8
  • Fatal error: Call to a member function where() on a non-object in /home/wxyz/public_html/components/com_users/models/registration.php on line 521

Гость
01 Май 2013 09:08

After latest update. Please help.

Последние изменения: 02 Март 2014


Гость
01 Май 2013 09:48

I get this error when I try to submit the article and the user is being created. If I press back on my browser then resubmit the article goes through successfully since the user was already registered.


Гость
01 Май 2013 09:48

I reinstalled version 8.5 same issue. Perhaps this has to do with the cobalt update and not the register filed update.


Konstantin
Total posts: 1,113
01 Май 2013 22:43

Are you use only standard fields or some else? I can't imagine where may be a problem like this.


Sergey
Total posts: 13,748
02 Май 2013 07:07

I tested register field and i cannot find problem. Can you give me access so I can check it on your site?


Гость
02 Май 2013 17:10

There is an error in the the joomla code in the new update. one missing ) and one extra ) in the wrong location of the

public_html/components/com_users/models/registration.php on line 521

I have let them know and they are now aware of the issue.


Гость
02 Май 2013 17:47

line: 520 and 521 originally was:

->from($db->quoteName('#__users')

->where($db->quoteName('sendEmail') . ' = ' . 1));

typo and works when changed to:

->from($db->quoteName('#__users'))

->where($db->quoteName('sendEmail') . ' = ' . 1);


Гость
20 Май 2013 01:00

Hi, I am sure this sounds like a totally dumb thing to say but i am new to joomla, where can i access 'public_html/components/com_users/models/registration.php' so i can check the code, For the love of me i can't find it.


Sergey
Total posts: 13,748
20 Май 2013 02:00

There is no necessary public_html folder should be there. The file have to be in

components/com_users/models/registration.php

starting from your Joomla root directory.

Работает на Cobalt