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
Getting icon deprecated notice
Avatar
Patricia Miller
Member
sp_UserOfflineSmall Offline
Jun 11, 2015 - 10:32 pm

Greetings,

I just updated my version of Simple:Press to 5.6, and at the top of my forum pages is this warning notice:

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 /problem-with-post-edit-buttonomepages/8/d116188896/problem-with-post-edit-buttontdocs/BestAllInclusive_NEW/wp-content/plugins/simple-press/sp-startup/site/sp-site-deprecated.php on line 105

[Image Can Not Be Found]Admin Links

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 /problem-with-post-edit-buttonomepages/8/d116188896/problem-with-post-edit-buttontdocs/BestAllInclusive_NEW/wp-content/plugins/simple-press/sp-startup/site/sp-site-deprecated.php on line 105

I'm not doing anything with icons as far as I know......how can I fix this warning?

 

Thanks,

Trisha

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 11, 2015 - 11:10 pm

That has nothing to do with 5.6 itsekf...  its mean that one of your sp plugins (or theme) is out of date... so when you updated core, you didnt keep the plugins in sync...

incidentally, its a warning... you really shouldnt be showing notices, warning and errors on production sites...

Avatar
Patricia Miller
Member
sp_UserOfflineSmall Offline
Jun 12, 2015 - 11:25 am

Thanks Mr. Papa, I would assume that it's not good practice to show warning messages, and would certainly not do it by choice. 🙂

Your answer did give me a clue where to look and very interestingly, when I did the update to the core, apparently it completely wiped out my plugins folder - all the plugins I had installed are just completely gone.

 

Sigh.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 12, 2015 - 12:30 pm

where did you have the plugins installed? the only thing that can remove them (from simple press perspective) is an uninstall action which has confirmations by user...

and not sure how that would matter - if the plugins were not there, they couldnt generate a warning then...

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