Title: Update Problem
Last modified: August 22, 2016

---

# Update Problem

 *  Resolved [GoldHatTrick](https://wordpress.org/support/users/goldhattrick/)
 * (@goldhattrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/)
 * Thanks for making the update.
 * Unfortunately, when I updated it on my test site the following showed up in the
   settings page by the Available Services title:
 * Warning: Invalid argument supplied for foreach() in \wp-content\plugins\osd-social-
   media-sharing\includes\global_settings.php on line 178
 * Warning: array_multisort() [function.array-multisort]: Argument #3 is expected
   to be an array or a sort flag in \wp-content\plugins\osd-social-media-sharing\
   includes\global_settings.php on line 181
 * Warning: Invalid argument supplied for foreach() in \wp-content\plugins\osd-social-
   media-sharing\includes\global_settings.php on line 202
 * These were there before I did anything beyond updating the plugin.
 * Wherever I had the shortcode showed a similar error message but at a different
   line:
 * Warning: Invalid argument supplied for foreach() in \wp-content\plugins\osd-social-
   media-sharing\includes\OSDSocialShare.php on line 93
 * I have not yet looked at the indicated lines to see what’s up but thought you
   should know this happened.
 * The error messages remained even with all other plugins deactivated. I have no
   caching plugins or coding on my test site.
 * The table heading for the icons appeared under the error messages (order, service,
   custom url, etc) & so did the add custom button but no actual table nor any icons
   with the original service.
 * Clicking the add custom button made a new entry appear with NaN under order.
 * Suggestions?
 * [https://wordpress.org/plugins/osd-social-media-sharing/](https://wordpress.org/plugins/osd-social-media-sharing/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [osdwebdev](https://wordpress.org/support/users/osdwebdev/)
 * (@osdwebdev)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707292)
 * GoldHatTrick –
 * have you tried saving the admin page and refreshing? Thank you very much for 
   the detailed error messaging. I will try to hide the warnings for future users
   during update. The way that the information is saved in the database for the 
   plugin has changed which i believe is the root of most of the errors. Please 
   try re-saving the admin settings and let me know what happens. Thank you!!
 *  Thread Starter [GoldHatTrick](https://wordpress.org/support/users/goldhattrick/)
 * (@goldhattrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707294)
 * Yes, I tried that. No change in the error messages in the settings page nor for
   the shortcode locations unless I actually add a custom url. Then the error messages
   disappear but the plugin is still not completely functional.
 * The pre-update icon table is still not showing so I can’t even use the original
   social media icons/settings.
 * I would still like to use the original settings for the other social media links&
   really only want the custom link for my facebook page.
 * While I can add any custom url – I did add my facebook page url with the full
   http:// path – it does not actually share that facebook page. It just calls up
   a new blank window – no facebook login or anything at all.
 * I also cannot call up your plugin’s facebook icon/button for the custom url (
   which would be ideal). I _can_ use a separately uploaded icon, though, but the
   link still doesn’t link to my facebook page, just stays blank.
 * Adding the custom url does change the NaN label under order to a number.
 *  Plugin Author [osdwebdev](https://wordpress.org/support/users/osdwebdev/)
 * (@osdwebdev)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707299)
 * Here we go. Releasing 3.0.1 now. Once installed please De-activate and Re-activite
   OSD SMS. Once you have done this if you wouldn’t mind sharing your results with
   me that would be great!
 *  Thread Starter [GoldHatTrick](https://wordpress.org/support/users/goldhattrick/)
 * (@goldhattrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707308)
 * Updated to 3.0.1, deactivated & re-activated.
 * Result:
 * 1) Previous icon table restored – yes & appears to be working
 * 2) No error messages in the settings page or in the shortcode locations
 * So far so good…
 * 3) Able to add custom url – yes & will link to that url (only tried my facebook
   page url).
 * However, the custom url is a pure hyperlink versus sharing/liking link of the
   facebook page. How do I scribe the custom url to be a sharing link like the other
   built-in links versus just going to the facebook page?
 * I have the [http://www.facebook.com/pages/etc](http://www.facebook.com/pages/etc)
   path in there right now. Do I need to add a sharing or login query or something
   to it?
 * The custom url option still needs a separately uploaded icon. Can I use the plugin’s
   built-in facebook icon for a custom facebook sharing link?
 * And seriously, thanks for doing all this! Absolutely awesome responses.
 *  Plugin Author [osdwebdev](https://wordpress.org/support/users/osdwebdev/)
 * (@osdwebdev)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707333)
 * Thank you for all of the help in improving the plugin!
 * Ok, this reply is going to take a little work on your part unfortunately.
 * 1) For the Icons that we use in the plugin, you are welcome to use them however
   and wherever you like (you will not hurt our feelings by re-using our images)
   If you have FTP access to your site they are located at: plugins/osd-social-media-
   sharing/images/icons.png Once you have the png you can cut out the ones you want
   to use with photoshop or the like. If you don’t have FTP access you can download
   the plugin to your computer and pull out the icons.png that way.
 * 2) This plugin gives you access to only the HREF of the button. This means whatever
   you can pack into the link you are capable of doing. So for instance if you want
   to add your own share button go to [https://developers.facebook.com/docs/plugins/share-button](https://developers.facebook.com/docs/plugins/share-button)
   create the button you want and then hit Get Code. In the window that pops up 
   select the URL tab at the top, this will give you the url to put into OSD SMS
 * Thanks – OSD
 *  Thread Starter [GoldHatTrick](https://wordpress.org/support/users/goldhattrick/)
 * (@goldhattrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707335)
 * Fabulous! Thanks for letting me use your icons.
 * I’ll look into getting the share link coding from facebook – thanks for the link!
 * Still loving the other icons & will continue to use your plugin.
 * I’ll mark this thread as resolved.
 *  Plugin Author [osdwebdev](https://wordpress.org/support/users/osdwebdev/)
 * (@osdwebdev)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707424)
 * GoldHatTrick,
 * I am going to push another update that will help you out with your custom urls.
   The update will include a couple of shortcodes to help you out.
 * [page] – this will be the page that the user is on
    [title] – this will be the
   title of the page that the user is on
 * So, to create a pinterest share link it would look like this after the update:
 * [http://www.pinterest.com/pin/create/button/?url=%5Bpage%5D&description=%5Btitle%5D](http://www.pinterest.com/pin/create/button/?url=%5Bpage%5D&description=%5Btitle%5D)
 * I am not going to release this update quite yet as I anticipate that some users
   have not yet upgraded to version 3 and there are bound to be more support questions.
 *  Thread Starter [GoldHatTrick](https://wordpress.org/support/users/goldhattrick/)
 * (@goldhattrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707425)
 * Sounds good!
 * The 3.0.1 update is working without any problems for me. I have had no conflicts
   with other plugins or caching on my live site.
 * Thanks again for all the fabulous work. I’m looking forward to the update.
 *  [SharilynF](https://wordpress.org/support/users/sharilynf/)
 * (@sharilynf)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707451)
 * I had the same problem on a website: glacierparkboats.com.
 * I tried re-saving the plugin settings but that did not work, so I reverted the
   site back to the old version of the plugin.
 * Any advice on how to proceed from here? Thanks.
 *  Plugin Author [osdwebdev](https://wordpress.org/support/users/osdwebdev/)
 * (@osdwebdev)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707452)
 * Sharilyn,
 * We are sorry for your upgrade troubles, please see below for the scenario we 
   have been following on our client’s sites.
 * After upgrading a live client site from 2.0.1 to 3.0.1 these are the steps that
   I followed and everything is working as expected.
 * 1. Update the plugin through the back-end of your site.
    2. De-activate OSD SMS
   plugin and then Re-activate it 3. Visit the settings page for the plugin 4. REFRESH
   the admin settings screen to clear out cached styling. 5. Make your adjustments
   and save. 6. Shortcode and automated post type displays will be working correctly.
   7. Done
 * ________
 * Another option is to unistall completely and re-install. Don’t forget to refresh
   the admin settings page to clear out the old styling.
 *  Plugin Author [osdwebdev](https://wordpress.org/support/users/osdwebdev/)
 * (@osdwebdev)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707495)
 * GoldHatTrick,
 * The update we discussed has been released. To recreate the pinterest link it 
   would be like this:
 * `http://www.pinterest.com/pin/create/button/?url=[page]&description=[title]`
 * [page] – this will be the page that the user is on
    [title] – this will be the
   title of the page that the user is on
 * Thanks!
 *  Thread Starter [GoldHatTrick](https://wordpress.org/support/users/goldhattrick/)
 * (@goldhattrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707496)
 * osdwebdev,
 * Shortcodes appear to be working for me. No problems with install from 3.0.1
 * Thanks again!

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Update Problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/osd-social-media-sharing_964078.svg)
 * [OSD Social Media Sharing](https://wordpress.org/plugins/osd-social-media-sharing/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/osd-social-media-sharing/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/osd-social-media-sharing/)
 * [Active Topics](https://wordpress.org/support/plugin/osd-social-media-sharing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/osd-social-media-sharing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/osd-social-media-sharing/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [GoldHatTrick](https://wordpress.org/support/users/goldhattrick/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/update-problem-26/#post-5707496)
 * Status: resolved