Mixed Content Warnings and Site migration

Google’s push for all websites to be HTTPS  has been a game changer over the past few years with many companies  switching from HTTP to HTTPS with some hiccups along the way.  Some of the site transfer mishaps are minor, but if done incorrectly can cause your plug-ins to misbehave , and often is the case, after the transition team has left the building.

Mixed Content Warnings – Loading Assets Over HTTP

If you have never had HTTPS on your site, you will undoubtedly run into an issue with how your site assets are loaded. By assets we are referring to things like images, JavaScript, and even your CSS.   Insecure assets may not stop the green padlock from showing in browsers, but it will add an exclamation point warning to your users that information is being loaded insecurely.

 Site Migrations Vary

Occasionally we see comments from customers that Store locator Plus broke their site or is not working. When asked if they recently  migrated their site they often state nothing has changed.   On further investigation , or by inspecting their console  we often see the “Mixed Content warnings” quite often for images or icons from older versions of Store Locator Plus. This is a sure fire clue that there was indeed a “site migration”. They started out with their site when  the SLP plug-in was originally installed as HTTP and now , at least part of their site, is HTTPS.  This is known as  a protocol migration. If you migrate your site from HTTP to HTTPS, Google treats this as a site move with a URL change. That means you may need to obtain a new Google API key for SLP to work properly. With version SLP 4.9.15 you are allowed to add HTTP referrers now as long as you also obtain a geocode key. See  info about those changes under news

Upfront Investment

A site migration is a great opportunity to address legacy issues. If you have outdated legacy add-ons  this is a good time to invest in your future by planning for and including any  update expenses in your overall budget.  Including these costs in the project scope is the most cost-effective method to ensure your site stays relevant and on-track. When you consider that  issues that may arise after going live will require additional time , resources and, yes, may even create downtime and loss of traffic  to your site it is worth including the new versions in your budget. Contact support if you have made a recent purchase or check our What to Buy guide for options.

 

Downgrading Store Locator Plus

As we continue to phase out the legacy add ons you may find that one of the add ons you purchased no longer works with the latest version of the free Store Locator Plus plugin for WordPress.  You have a few options when this happens.

Option 1 : Upgrade Your SLP WordPress Add On

The features that were part of the following Legacy add-ons , Enhanced Map, Enhanced Search, Enhanced Results, and the Widget Pack,   are now part of the Experience add on along with dozens of new features that have been added over the past 2 years.

Features and  functionality found in the Legacy add-ons , Pro Pack, Tagalong, Pages, Contact Extender and Directory Builder,  are included in the  Power add on with the exception of the CSS layout box which is now part of the Experience add-on.

Combining multiple add ons into a single larger add on allowed us to make the code more efficient and use less overhead on your site.  They are  faster, use less memory (important for high traffic sites), and work with the latest features of Store Locator Plus 4.7+ and WordPress 4.5 and above.

Option 2 : Downgrade Store Locator Plus

If you upgraded moments ago and have not published new blog posts, received WooCommerce orders, or had other activity you want to retain since upgrading the base plugin you should be able to restore your latest site backup.  You are backing up your site with a solution like VaultPress, aren’t you?    If so a few clicks will put your Store Locator Plus plugin back to the version you were running earlier today.

No backup or too risky to restore?  You can download and re-install the older version of Store Locator Plus.

NOTE:

We absolutely do NOT recommend rolling back any plugins or themes on a live site. Test the rollback locally first, have backups, test on a staging or dev site first and  use WordPress  best practice tools available to you. Research first!

You can get the older versions of the install zip files from the WordPress directory.

https://wordpress.org/plugins/store-locator-le/developers/

Select the latest version that did not disable your legacy add on.  It will download a zip file.

Login to your WordPress admin panel.

Deactivate Store Locator Plus and delete it (your locations and most* settings will be retained).

Add a new plugin, select “upload” and select the SLP zip file you just downloaded.

*Most settings will be retained.   Sometimes we migrate settings between versions to speed up the options processor.  When we add a new feature or fix a bug we may find that we need to rename a setting.    If something is not exactly the same check your settings first.  99% of your settings will not change.  We also try not to change settings between upgrades but sometimes it is inevitable.    Also – this is ANOTHER great reason to be using a backup service.    Point-in-time restores will not only restore the plugin code but all the settings in the options table!

Option 3 : Migrate to My Store Locator Plus

MySLP is our SaaS service that works with any web or mobile app including WordPress and brings most of the features you find in the base plugin plus some extras with it.   The Professional level includes all of the Experience and Power add on features.  The Enterprise level includes all of that plus the Premier features.

We take care of backing up the data, fully testing the software between releases, and are adding custom MySLP features on a regular basis.     We manage the location server, geocoding limits, and all the other overhead of the locator.  You just enter locations , turn the “dials” to set the look and feel of the locator, and paste a short snippet of JavaScript code on any page or post where you want your locator to appear.

 

Upgrading Store Locator Plus

The base plugin and add ons are updated on a regular basis.  Often the updates include fundamental changes that are designed to improve performance by reducing the memory and/or disk request load when your visitors are interacting with the map.

The most common reason your legacy add on stopped working is because it is no longer supported with the latest version of Store Locator Plus  

Announcements have been made since the end of 2015 that the legacy add ons  are being phased out and at some point will no longer work with the latest version of Store Locator Plus.  As of  4.7 .11 release of SLP, the last of the Legacy Add-ons that were supported, (ProPack) will not work with SLP current version.  Your only option will be to NOT UPGRADE Store Locator Plus or upgrade your add-on or switch to MySLP.

Make sure you have a backup copy of the current version of SLP you have installed that IS working with your legacy add on packs. We ALWAYS recommend that your site uses VaultPress or JetPack

Whenever you update the base plugin make sure ALL of  your SLP add-on packs are updated to the latest version.

 

Q: I purchased version 3 of a SLP add on and want to update to the newest version. How do I go about that?

Q: I purchased ProPack with SLP version 3 and now I want to update to the newest version of ProPack.  Why can’t I access my old version of ProPack? Can I just use version 3 forever?

A. Refer to the Troubleshooting section about versions and Upgrades. Store Locator Plus revamped and upgraded to Version 4 over 3 and a half years ago .  WordPress has also updated many times with security patches, javascript changes which  required changes to the base SLP.  Because of the major coding changes we can no longer support version 3 of any add-ons or base plug-in . It is not compatible with WP 4.9 and above.   ENSURE THAT YOU HAVE A FULL SITE BACK-UP BEFORE YOU UPGRADE.

Q: I am receiving error messages and something isn’t working the way it used to, what is wrong?

The most common issue is that there were updates in Store Locator Plus, WordPress, a non-Store Locator Plus plugin, or your theme that may be interacting with and breaking Store Locator Plus.

Update Your Store Locator Plus Add Ons

The first step should always be to check the Store Locator Plus versions page and make sure you are running the latest version of your Store Locator Plus plugins.   There is often a free upgrade to a newer version of a Store Locator Plus add on that works with the current release of the base plugin.

How to upload and install your Store Locator Plus Add-Ons

Obtaining An Add On Pack

All add-on packs are available from the Store Locator Plus website.   Power Add-On ,  Experience Add-on , or you can purchase a Premier Subscription that provides access to all of the add-on packs as well as preferred access to the Premier support forums, pre-release products, new features and functionality that is  available only to subscribers. Limited  legacy add-ons may be   available for purchase but will not be updated beyond their current versions

Note: If you purchase the  Power or Experience add-ons as an upgrade to your existing  (Legacy) add-ons, the legacy add-ons will automatically be deactivated. In some instances you may need to delete the legacy add-ons. This is why we state, “always have a full backup of your site”  We strongly recommend looking into the WordPress backup, or better option  Jet Pack.   One of the features included , besides real-time incremental backups of your site with restore points, is the ability to restore the site to an alternate site

<!–more–>

Install An Add On Pack

Add On Packs are not listed in the WordPress Plugin Directory.    As such they need to be installed via the below  installation process.

  • Login To Your Store Locator Plus  Account
  • Download the latest zip file for your add-on pack.
  • Login to your WordPress admin panel for your website.
  • Go to the plugins sidebar menu.
  • Select Add New.
  • Select Upload.
  • Browse to your downloaded zip file.
  • Click Install now.
  • Activate

Updating An Add On Pack

Once installed a query from the WordPress Admin Panel communicates with the Store Locator Plus servers and a message  or red line will be shown as updates are available.  Occasionally, the WP server times out before it gets to the SLP plugin servers. Use the check again tool in the WP Admin sidebar or check the versions at the Store Locator Plus home page.
WP check again

Some third-party plugins and WordPress themes can prevent the update notice appearing from the Store Locator Plus server.   It is prudent to visit the Versions Page and only if necessary, perform a manual update.  

You should perform updates on your test site or a staging site first to avoid downtime or potential  issues effecting your production (live) site. You should always have a recent back-up to restore to. The safest way to do manual updates, follow these steps

Deactivate the plugin you are updating
Delete the plugin
Go to Plugins | Add New
Select Upload
Upload the latest release zip file
DO NOT click the Activate button
Go to Plugins on the sidebar
Check off the plugin you just installed
Go to bulk actions and select activate