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
The function sp_find_icon() has been deprecated
Avatar
Charles Kirkland
Rookie
Free Members
sp_UserOfflineSmall Offline
Jun 2, 2015 - 7:59 am

The entire from is down and this is the message I'm getting in the admin area:

Warning - The default user group for guests is undefined! Please visit the SP usergroups admin page, map users to usergroups tab and set the default user group

 

This is what I'm getting inside the forum

Warning: The function sp_find_icon() has been deprecated and will be removed in a future update. Use the new function sp_paint_file_icon() instead. in - See more at: http://mediabuyerassociation.c.....8aSiS.dpuf

 

I just did the forum update what did I do wrong?

Thanks,

Charles 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 2, 2015 - 8:07 am

Sorry but edited that rather overlong title...

Sounds to me like you probably have updated the core SP but not updated all the SP plugins you are using...

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Jun 4, 2015 - 6:44 am

I am getting the same warning in sp error log, everything is up to date

file: /simple-press/sp-startup/site/sp-site-deprecated.php
line: 105
function: trigger_error
User Warning | The function sp_find_icon() has been deprecated and will be removed in a future update. Use the new function sp_paint_file_icon() instead.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 4, 2015 - 7:03 am

I can guarantee that the function is no longer being used in any SP supplied code. As of the last round of updates.

However - if you get the deprecated warning then perhaps you have used the function in some custom code somewhere. Is that possible?

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Jun 4, 2015 - 7:11 am

I don't believe so, I just looked through my child theme and can't locate it anywhere

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 4, 2015 - 7:40 am

What is the date on the error log entry? And indeed the number of times it has been called?

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Jun 4, 2015 - 7:42 am

1 Jun ’15 8:31 am | 512 | 67 | php

Just once

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 4, 2015 - 7:46 am

Might that be the day you upgraded some of the SP components? If so that might explain one or two slipping through.before the fully updated components were all in place. I would clear the log and see if it returns...

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Jun 4, 2015 - 8:16 am

Will do

Avatar
BSABantam
UK
Member
Free Members
sp_UserOfflineSmall Offline
Jun 6, 2015 - 8:53 pm

I had the same error appear in the log and also on the Forum page, but only when I clicked on 'See all Online activity'.

De-activated the 'Online' plugin and tried to delete it but couldn't. Eventually I un-installed the plugin but still couldn't delete it so I removed the folder.

Re-installed the latest version (had already updated after Simple:Press update along with all the other plugins) and all now appears to be OK.

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