WordPress PHP 8.1 Compatibility August 2022

We have received a couple of reports about Store Locator Plus® for WordPress not working with PHP 8.1.  The  WordPress PHP 8.1 compatibility is officially listed as “not compatible” in January 2022 and remains that way today (August 20th, 2022).   There is no official release date for WordPress on PHP 8.0 or PHP 8.1 at this time.

Officially WordPress supports PHP 7.4.  As such, Store Locator Plus® for WordPress is only officially supported on PHP 7.4.

Users of the Store Locator Plus® SaaS service don’t have to worry about this. We’ve taken care of ensuring the location service is running on a stable platform

WordPress PHP 8.0 Status

However, we have tested WordPress on PHP 8.0 along with the latest release of theStore Locator Plus® for WordPress plugin.  It does appear to be working normally without notable warnings or errors.   While not officially supported, we do believe you can run WordPress and Store Locator Plus® for WordPress on PHP 8.0 without any issues.   With that in mind, we are providing support and patching services for the Store Locator Plus® for WordPress with PHP 8.0 installations.

Power v5.13 Addresses Location Categorization Issue

Version 5.13 of the Store Locator Plus® Power add on for WordPress plugins was released today.    The update is a minor one as we continue to clean up the WordPress plugin family.  Multiple updates are expected in the next few weeks in preparation for better SaaS integration , user experience improvements, and general feature improvements.

In Power v5.13

Add new location category was logging a warning about an undefined or null variable reference.   This has been resolved.

Power – On The Radar

For the WordPress plugins we are aware of an issue related to the SEO pages functionality and an array offset warning that comes up when creating an SEO page.   This is on the R&D schedule to be addressed in an upcoming release.   Current estimate is to have an update ready in less than 30 days.

Store Locator Plus® SaaS Impact

The issues resolved in Power 5.13 do not affect functionality or performance of the MySLP SaaS platform.   As such the updates included here will be published in combination with other updates in a future upgrade to the MySLP platform.

Store Locator Plus® PHP 8 Compatible & Relisting Status

This past week we published an updated version of the base Store Locator Plus® WordPress plugin for version 5.12.4.  This patch allows Store Locator Plus® to run in PHP 8 environments despite WordPress itself clearly stating PHP 8 is NOT officially supported in the core WordPress install.

Unfortunately you still need to go to our main WordPress site to get the latest release.   The WordPress plugin team has yet to approve our plugin for listing in the direct despite providing a patch for the initial security concern during the summer of 2021.

Speaking of Relisting…

We have been working on literally hundreds of code changes to meet the new strict demands of the WordPress plugin team.  They insisted on a full code scan and review of all data I/O calls and required that we publish hundreds of escaping and sanitizing methods throughout.  While some of these updates did help close potential security holes, many of the changes flagged by the “AI bot code sniffer” were not true security weaknesses; This highlights a notable concern when humans employ digital intelligence tools to make decisions — but that is a debate for another day.

For now, we have spent hundreds of hours running the scanning tools we found for analyzing the code, evaluating thousands of warnings, and addresses dozens of legitimate concerns.  We worked around hundreds of false flags in the reports. The end result is a new version of the base plugin that is a good bit more secure against potential security issues.

The latest problems uncovered in testing have not come about from our security updates, but uncovered fundamental breaking changes in WordPress core.     WordPress has put the emphasis on block themes and the supporting core utilities that support them.   This has broken fundamental features of WordPress and has changed the order of precedence in which their hooks-and-filters are called.   This leads to notably different behavior in plugins and themes — not just Store Locator Plus®. Thankfully our QA team has found the issues with these new WordPress behaviors before we released our latest update and we have been working diligently to resolve them.   Our hope is the new 5.13 release not only passes the WordPress security scan but also works better than our 5.12 release when it comes to new block-based themes while retaining full compatibility with legacy themes.

With that said, we are hoping to pass our QA tests soon and have a new 5.13 release officially listed in the WordPress plugin directory.     Then we can start focusing on new features and a user experience overhaul that all of our customers can enjoy — including our SaaS customers.

Speaking of the SaaS version, thankfully none of these security things impact the SaaS version.   For those of you that switched over to the Saas release — we’ll have new features and UX updates coming your way later this year!