Support Forum

Getting icon deprecated notice

PM Patricia Miller
Patricia Miller
Member

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

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

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

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…

PM Patricia Miller
Patricia Miller
Member

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.

MP Mr Papa
Mr Papa
Member

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…