Only on my profile and my partner's profile broke, giving the following message in the footer
Error: Call to a member function iconURL() on boolean in /home/wwbdsm/public_html/components/OssnProfile/plugins/default/profile/modules/friends.php:17
Stack trace:
#0 /home/wwbdsm/public_html/libraries/ossn.lib.views.php(27): include()
#1 /home/wwbdsm/public_html/libraries/ossn.lib.views.php(50): ossn_include('/home/wwbdsm/pu...', Array)
#2 /home/wwbdsm/public_html/libraries/ossn.lib.plugins.php(75): ossn_view('/home/wwbdsm/pu...', Array)
#3 /home/wwbdsm/public_html/components/OssnProfile/ossn_com.php(214): ossn_plugin_view('profile/modules...', Array)
#4 /home/wwbdsm/public_html/libraries/ossn.lib.system.php(223): profile_modules('profile', 'modules', NULL, Array)
#5 /home/wwbdsm/public_html/components/OssnProfile/plugins/default/profile/pages/profile.php(138): ossn_call_hook('profile', 'modules', Array)
#6 /home/wwbdsm/public_html/libraries/ossn.lib.views.php(27): include('/home/wwbdsm/pu...')
#7 /home/wwbdsm/public_html/libraries/ossn.lib.views.php(50): ossn_include('/home/wwbdsm/pu...', Array)
#8 /home/wwbdsm/public_html/libraries/ossn.lib.plugins.php(75): ossn_view('/home/wwbdsm/pu...', Array)
#9 /home/wwbdsm/public_html/components/OssnProfile/ossn_com.php(260): ossn_plugin_view('profile/pages/p...', Array)
#10 /home/wwbdsm/public_html/libraries/ossn.lib.page.php(73): profile_page_handler(Array, 'u')
#11 /home/wwbdsm/public_html/index.php(22): ossn_load_page('u', Array)
#12 {main}
~Z~ Man,
I did it too and yes it resolved
Your issue seems to be caused by an orphan ossn_relationships
record which is pointing to a user which no longer exists,
but I'm not able to reproduce this problem with Ossn 5.6.
What I (admin user 1) did:
resulting in 2 database records in the ossn_relationships
table like
ossn_messages
table likeALL 4 records were correctly deleted from the database.
Please do the same steps, and verify whether your records are still in place after deleting the other user.
And please provide your Ossn version.
Of course, I had to perform the manual search of who was no longer on the network ... I realized that some functions give error if the person has left the social network ...
As a message ... if the person deletes the account or is deleted via the admin panel, the messages sent remain and this causes some errors ... then I found the person left the network and went to the database to delete everything there was connection her guid
The line referred to in the code is exactly that of "photos of friends" in the profile ... and that person only had me and my partner as a friend!
Please tell us what have you done to fix it?
Problem solved
I don't know how to delete this topic
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)