Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Something gone wrong @profile options
Avatar
Golden Sharks
Member
Free Members
sp_UserOfflineSmall Offline
Oct 27, 2015 - 8:57 am

What just happened here? I think it causes all my new wordpress users having nickname00 where nickname is your login name and 00 are as far as I investigated random two numbers.

Image Enlarger

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 27, 2015 - 9:34 am

Hey Robert,

While this is the first time I've heard of the '00' after user names, this is a problem we've encountered and fixed for the next version.

Are you happy making a small code change? If so, please nip over to This Thread and see if the fix works for you..

Avatar
Golden Sharks
Member
Free Members
sp_UserOfflineSmall Offline
Oct 27, 2015 - 9:49 am

Adding "include_once(ABSPATH.’wp-admin/includes/plugin.php’);" to anywhere cause 4 extra errors above actual error

Warning: Division by zero in /home4/goldenshark/public_html/wp-content/plugins/simple-press/sp-startup/sp-load-admin.php on line 8

Warning: Division by zero in /home4/goldenshark/public_html/wp-content/plugins/simple-press/sp-startup/sp-load-admin.php on line 8

Warning: include_once(0php’): failed to open stream: No such file or directory in /home4/goldenshark/public_html/wp-content/plugins/simple-press/sp-startup/sp-load-admin.php on line 8

Warning: include_once(): Failed opening '0php’' for inclusion (include_path='.:/opt/php54/lib/php') in /home4/goldenshark/public_html/wp-content/plugins/simple-press/sp-startup/sp-load-admin.php on line 8

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 27, 2015 - 10:36 am

Did you add it as Steve outlined in Post #3?

Will also add, they are warnings not errors. If you've added the line as mentioned above can you then load the profile panel properly?

Avatar
Golden Sharks
Member
Free Members
sp_UserOfflineSmall Offline
Oct 28, 2015 - 5:15 am

Unfortunately it didn't help. Error presist unchanged.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 28, 2015 - 6:06 am

Could be several things.

What tool did you use to edit the code? It MUST be a plain text editor NOT a Word Processor.

Did you put the line of code INSIDE php tags. If outside that will blow things up.

Did you leave some empty lines at the top of a file before the opening php tag. That too can cause problems.

Any of the above?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Golden Sharks
Member
Free Members
sp_UserOfflineSmall Offline
Oct 28, 2015 - 6:27 am

I'm using notepadd++
I've just added include above line 309 as in the example. 

include_once(ABSPATH.'wp-admin/includes/plugin.php');

if (($mode == 3 && !is_plugin_active('buddypress/bp-loader.php'))|| ($mode == 6 && !is_plugin_active('mingle/mingle.php'))) {

 

whole file is in php inside one php tag, how could I insert something out of it while editing some line from the insides

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 28, 2015 - 10:24 am

I'm not sure whether it's just because you've pasted the code in there without using the syntax highligter or because you've copied out the code from the fix post without using the 'view raw code' button on the highlighted code, but the single quotes in that are definitely rich text and not plain.

Avatar
Golden Sharks
Member
Free Members
sp_UserOfflineSmall Offline
Oct 28, 2015 - 10:36 am

Now what I did, I've copied this part of code from the file, pasted into notepad.exe and copied back

include_once(ABSPATH.'wp-admin/includes/plugin.php');    if (($mode == 3 && !is_plugin_active('buddypress/bp-loader.php')) || ($mode == 6 && !is_plugin_active('mingle/mingle.php'))) {        $mode = 1;    }

It worked - the error is gone and profle tab is functionality again but I'm still having problem with thise numbers added to usernames... Let me show you
Image Enlarger

 

Edit: I fixed it! I've deleted the buddypress folder from my folder theme (I deleted buddypress long time ago but something left after deleting it) - it helped! All nicknames back to normal 🙂

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 28, 2015 - 11:16 am

Good news.. Never seen the issue before and also not sure what the leftover buddypress content was and what impact it would have, but useful to know!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626