Premier Not Activating

The problem here was that some users, older users, were not loading the Premier plugin when switching to the user. This problem ONLY manifests on staging and development servers.

Turns out the wp_blogs domain column MUST match the primary site domain or the user elements that are loaded very early by WordPress will not load properly. That means things that load early like mu_plugins or plugins themselves may not load because they are being only loaded for the primary site for the entire blog. Honestly not a great design from WordPress core to use a PATH from user meta versus looking at the actual user info and pulling related sites that way. Very fragile.

Reworked the MySLP dashboard to detect and reset the domain value in wp_blogs when not on production and the site url is a mismatch. Worked well on dev test. Needs staging test.

The wp_blogs table needs the domains the be changed to match the main URL or get_sites() and get_site_by_path() will not work.

After Search: Number To Show Not Working

The issue was in Dashboard where the AJAX mode was being forced to ‘load’ (initial look) all the time and ignoring the search mode.

Also SLP was flipping logic of search and load limits with search pulling the initial limit and load pulling the after search limit.

Resolved in Dashboard 2303.05.01 and SLP 2303.05.01

Concur > Cici

Customer Report from (cvtsoft : 834.832)

RESOLVED: Search With Categories, No Results

RESOLVED by unchecking results setting ” Disable Initial Directory.”

May have been as the result of Map hidden checked off so the first search only made the map appear without listing the results under the MAP

User Report (americanbreast)

when doing an initial search on the map, the locations do now show up under the map on first search

For example, it's set to ALL by default in the category type, if you enter a zip code and don't change any of the dropdown boxes it will not show the results, 

if you select a category or a radius it will show the results under the map.

https://americanbreastcare.com/retailers-near-me/

Map Marker Icons AWOL

Some users are not seeing the proper map marker urls (schmiggitty).

Home Marker

Saved: https://local.storelocatorplus.com/schmiggitty_at_gmail_dot_com/wp-content/mu-plugins/store-locator-le/images/icons/bulb_yellow.png (empty)
Corrected: https://local.storelocatorplus.com/wp-content/mu-plugins/store-locator-plus/images/icons/bulb_yellow.png

End Marker

Saved: https://local.storelocatorplus.com/schmiggitty_at_gmail_dot_com/wp-content/mu-plugins/store-locator-le/images/icons/bulb_azure.png (empty)
Corrected: https://local.storelocatorplus.com/wp-content/mu-plugins/store-locator-plus/images/icons/bulb_azure.png

Dev notes

https://storelocatorplus.youtrack.cloud/issue/SLP-11/Map-Marker-Icons-AWOL

On staging (and production I assume) these both work as expected. The long URL with the customer ID works.

Premier Boundaries shown on Settings

Enterprise customers are seeing the boundaries setting even when Boundaries Influences Guess is set to None.

Dev Notes

Premier Admin Tab JS Not Loading

The Premier Admin JavaScript should be managing that information and hiding the div when the setting is none.

Turns out the JS was not loading due to the page name change with the menu update. It also requires Google Maps to be loaded for this JavaScript to initialize.

Had to add a new SLP Google Maps loader as the existing enqueue_google_maps is really designed for the front end and attached to the ‘google_maps’ handle. A new gmaps handle and enqueue without an init callback is in place to allow for non-user presentation (admin) maps.

Enabling Reports Produces Fatal Error

User Report (texas)

I have always had the reporting functionality turned on. I noticed it no longer is on and when enabled it displays this code:

Fatal error: Uncaught Error: Class \"SLP_Power\" not found in /var/www/html/wp-content/plugins/slp-power/include/module/admin/SLP_Power_Admin_Reports2022.php on line 37 
Error: Class \"SLP_Power\" not found in /var/www/html/wp-content/plugins/slp-power/include/module/admin/SLP_Power_Admin_Reports2022.php on line 37 

Dev Notes

A basic typo in the reports module was performing an include in the wrong place.

Resolved in Power 2502.25.02.

Ignore Radius Breaks Search Button

Search Button Not Working (User: Teivin)

From their website, search button does not fire.

Analysis

If Settings | Search | Radius Behavior is set to “Do not use” it will trigger the problem.

The backend code in the Experience codebase has a bug that is not using a properly initialized AJAX class. This is a side effect of the PHP upgrade.

It is resolved in the 2502.25.01 release of Experience.

SLP Updates 2502.23.XX – 2502.24.XX

Updates

The following issues have been updated starting with the 2502.23 release.

  • Fatal error: Uncaught Error: Undefined constant “MYSLP_DEPLOYMENT_LEVEL”
    • resolved: MySLP Dashboard 2502.23.01
      • Deployed to production 25/02/23 15:20 EST
  • Uploaded files : csv imports, custom map marker images stability
    • resolved: AWS system configuration update on shared EFS mount for uploads folder
      • Deployed to production 25/02/23 18:20 EST
  • Expired Account Notification for Active Users
    • Resolved: MySLP dashboard update on check_activation in the REST_API
      • Deployed to production 25/02/24 01:00 EST
  • MySQL 8 Rank Field Conflict
    • Resolved: Experience update on \SLP_Experience_AJAX::create_string_CustomSQLOrder() to address rank reserved work in MySQL 8.
    • Deployed to production 25/02/24 04:00 EST
  • My Profile Updates
    • Fix Stripe “Test Mode” warning on View Profile
    • Show UID/Site ID on top of customer profile section
    • Remove avatar/image sidebar and move edit profile to the top right of main bar
    • Reformat some headers on the page
    • Deployed to production 25/02/25 12:15 EST
  • Main Theme
    • Show the site tagline on bottom right corner of image
    • Will be used to manually update the version so users can easily see there is an update
    • Deployed to production 25/02/25 12:15 EST
  • Contact Us
    • Show a preview of the extra meta that will be sent to support
    • Add UID/Site ID next to the user name
    • Deployed to production 25/02/25 12:15 EST