Support

  1. hwdevteam
  2. Bug Report
  3. Thursday, April 05 2018, 02:37 AM
Hi - when using a SQL based selectlist in JSN User Profile, there is an error that causes the interface to break, when an existing, NON activated user, tries to re-register with the same USERNAME.

(This happens when they didn't see the activation email, and try to register again....)

The error shows up in the error log as

[04-Apr-2018 13:46:38 UTC] PHP Catchable fatal error: Object of class stdClass could not be converted to string in

/home/xxxxxxxx/public_html/administrator/components/com_jsn/models/fields/selectlist.php on line 68


The error comes from the JSN Custom SQL list being created as an object(), instead of an array().. I had to fix it by turning any objects into an array..

FIX: ON line 65

if(is_object($this->value)) $this->value = (array)$this->value; //HW fix for duplicate registration broken page error.

Can you please fix the core code, so on the nest update it doesn't revert - thanks!

I am also getting massive error logs from JSN User Profile that I keep having to delete to conserve space (10-11 meg) - Can I recommend you try to squash some of these as they eat up space :)

THanks
Pete
admin Accepted Answer
Admin
Hi,
this is a know issue and happen only in a few circumstances. The coming soon next release will include a fix for it.

Sorry for this problem.

here a fix: https://www.easy-profile.com/support/catchable-fatal-error-object-of-class-stdclass-could-not-be-converted-to-string-in-administrator-components-com-jsn-models-fields-selectlist-php-on-line-68.html#reply-21065
  1. more than a month ago
  2. Bug Report
  3. # 1
hwdevteam Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.