Any help please?
Fatal error: Call to undefined function bx_check_profile_visibility() in /home/xxxxxx.xxx/public_html/profile.php on line 35
Any help please?
Fatal error: Call to undefined function bx_check_profile_visibility() in /home/xxxxxx.xxx/public_html/profile.php on line 35 |
Have you recently updated? Changed any code? |
open profiles.inc.php
You should have the "function bx_check_profile_visibility ($iViewedId, $iViewerId = 0) {" function in there (that's not the whole function, just the first line) |
I already updated my site from 7.0.7, I have not change anything on the script nor a third party modules installed |
To go further on what DCSniper said. https://www.deanbassett.com |
I'm having same error
Any suggestions? I checked the root/profile.php but can't find "function bx_check_profile_visibility" in it. |
I installed it brand new -getting the error. If the function was in the old file and the new would fail to overwrite the function would be there. The function is not in the new version, and probably intentionally :-) So I suppose it won't hurt to stop the call that is causing the error, namely "profile.php" around line 35 and "profile_info.php" around line 83: bx_check_profile_visibility($profileID, $memberID); Comment it out like this: // bx_check_profile_visibility($profileID, $memberID);
I didn't come across any side effects yet. If there are other places calling that function I can create an empty function, just to avoid the error, and then pick those files one by one. But we'll see. |