#126 Only variable plugin.foundation.php line 784

12 years 11 months ago #81617 by leblancs
The following error appears on the Member list page when debug is turned on in site configuration:

Notice: Only variable references should be returned by reference in /home/----/public_html/----/administrator/components/com_comprofiler/plugin.foundation.php on line 784

Should I be concerned about this?

-Matt

edit: replacing title for easier find and adding id

Post edited by: beat, at: 2008/12/09 00:13

Please Log in to join the conversation.

12 years 11 months ago #81628 by krileon
Replied by krileon on topic Re:Debug error on member list
leblancs wrote:

The following error appears on the Member list page when debug is turned on in site configuration:

Notice: Only variable references should be returned by reference in /home/----/public_html/----/administrator/components/com_comprofiler/plugin.foundation.php on line 784

Should I be concerned about this?

-Matt


Was not able to duplicate. I tried User List frontend and backend, user management CB and joomla. I assume by member list you meant userlist. No issue here. What version of joomla are you using?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 11 months ago #81642 by leblancs
Replied by leblancs on topic Re:Debug error on member list
I'm running Joomla 1.5.7 -- My development site is here to see error:

scms.leblancstudios.com

You'll see the error on the left in the search module (I put that up using Jumi, btw). Or you can click Find A Doctor to see the whole list.

-Matt

Post edited by: leblancs, at: 2008/12/08 23:35

Please Log in to join the conversation.

12 years 11 months ago #81658 by beat
Replied by beat on topic Re:Debug error on member list
php 4 small issue without any effect, except the notice.

fix is easy: on that line of error:

replace this:

[code:1] return CBuser::_getOrSetInstance( $userId );
[/code:1]

by:

[code:1] $user =& CBuser::_getOrSetInstance( $userId );
return $user;
[/code:1]

#126

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.151 seconds

Facebook Twitter LinkedIn