= 1.8.3 =
- Fixed: Basic PHP 8.2 deprecation notices.
- Fixed: Call to undefined method Freemius_Api_WordPress::RemoteRequest().
- Fixed: Use MySQLi prepared statements on legacy queries.
- Fixed: Bug in the Freemius library used to communicate with the API throwing fatal error.
Better PHP 8.2 support
Take note that WordPress is still not fully compatible yet with PHP 8.2 (still has beta support for WordPress 6.1 – 6.2, earlier versions – not compatible). If you use Prime Mover with PHP 8.2 – it works but take note that PHP 8.2.4 (latest as of March 31, 2023) has bug that prevents it to work properly with Prime Mover. This bug is already reported and fixed in PHP core.
Hopefully this should be permanently fixed with PHP 8.2.5. Right now – we don’t recommend using PHP 8.2 with WordPress + Prime Mover unless things will become more stable.
There are deprecated notices in PHP 8.2 that is now fixed with Prime Mover 1.8.3. You don’t need to worry about this now as most host didn’t yet include PHP 8.2 as their supported PHP platform for WordPress. This might change several months from now.
More stable Freemius library
In Prime Mover 1.8.3 – the Freemius SDK library is updated to latest version 2.5.6. This covers both bug fixes from the previous version 2.5.4 and 2.5.5. For details as to what have changed in these versions – please refer to the release notes published by Freemius Inc.
This update results to better user experience in managing your licenses, user accounts and better stability with Freemius library.
Modernize SQL queries
Since Prime Mover 1.8.3 – some legacy queries (used by older third party library) is now rewritten to fully use MySQLi prepared statements. This only affects a few lines of queries and not all of them.
Take note that due to this change – Prime Mover added new required functions to make this happen. For example –
mysqli_stmt_get_result()PHP function is now required. If your server does not have this function enabled – you cannot activate Prime Mover plugin.
For details on how to handle this – please checkout this separate guide.