Title: Fatal Error PHP 8.1
Last modified: August 5, 2022

---

# Fatal Error PHP 8.1

 *  [tbob21](https://wordpress.org/support/users/tbob21/)
 * (@tbob21)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-php-8-1/)
 * Works on 7.4 but not 8.1. 7.4 is very close to being EOL.
 * AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member
   function initialize_after_plugins_loaded() on null in /wp-content/plugins/store-
   locator-le/include/SLPlus.php:414\nStack trace:\n#0 /wp-includes/class-wp-hook.
   php(307): SLPlus->initialize_after_plugins_loaded()\n#1 /wp-includes/class-wp-
   hook.php(331): WP_Hook->apply_filters()\n#2 /wp-includes/plugin.php(476): WP_Hook-
   >do_action()\n#3 /wp-settings.php(461): do_action()\n#4 /wp-config.php(96): require_once(‘…’)\
   n#5 /wp-load.php(50): require_once(‘…’)\n#6 /wp-admin/admin.php(34): require_once(‘…’)\
   n#7 /wp-admin/plugins.php(10): require_once(‘…’, referer: /wp-admin/plugins.php?
   plugin_status=all&paged=1&s

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

 *  [cicistorelocatorplus](https://wordpress.org/support/users/cicistorelocatorpluscom/)
 * (@cicistorelocatorpluscom)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-php-8-1/#post-15893957)
 * Could you provide your SLP version?
    See how to find your [Plug-in environment using SLP .](http://Provide versions, including the SLP add-ons you may have.  Best method to provide this info is to capture a screenshot , under the Info tab , provide your SLP Plug-in environment)
 * We have tested the latest plugin version 5.13.8 with PHP 8.01, WP version 6.0
   and it has passed our testing.
 * To receive updates and report bugs or issues please visit our [SLP forums ](https://wordpress.storelocatorplus.com/forums/)
 *  Thread Starter [tbob21](https://wordpress.org/support/users/tbob21/)
 * (@tbob21)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-php-8-1/#post-15895681)
 * Version 5.13.8 of SLP. Why are you testing with PHP 8.0.1? That is about 8 months
   old at this point and has several vulnerabilities ([https://www.cvedetails.com/vulnerability-list/vendor_id-74/product_id-128/year-2022/PHP-PHP.html](https://www.cvedetails.com/vulnerability-list/vendor_id-74/product_id-128/year-2022/PHP-PHP.html)).
   The current PHP 8.0 version is 8.0.22.
 *  [cicistorelocatorplus](https://wordpress.org/support/users/cicistorelocatorpluscom/)
 * (@cicistorelocatorpluscom)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-php-8-1/#post-15898330)
 * The PHP version number was truncated in my reply. WP version 5.14 will be published
   with updates. PHP update will be addressed if customers cannot update. The SLP
   plug-in PHP version was being updated for resisting at the time with the then
   current PHP version that was compatible according to the WP best practices.
    
   Thank you for your information and we will pass it along to the developers team.
 *  Thread Starter [tbob21](https://wordpress.org/support/users/tbob21/)
 * (@tbob21)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-php-8-1/#post-15918561)
 * I see 5.14 is released. It still does not work with PHP 8.1. Only 8.0 and below.
 *  [cicistorelocatorplus](https://wordpress.org/support/users/cicistorelocatorpluscom/)
 * (@cicistorelocatorpluscom)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-php-8-1/#post-15924719)
 * The developer has replied to this issue in the following note back to me
 * We are currently working on known issues. WordPress **still** does not officially
   support PHP 8. We develop and test first on the actively supported PHP version
   before we go back and test compatibility with newer versions; Not all PHP updates
   are backward or forward compatible so we need to be careful.
 * P.S. Have you tried this with PHP 8? We have been testing SLP regularly with 
   the PHP 8 environment and have not seen this issue.
    -  This reply was modified 3 years, 9 months ago by [cicistorelocatorplus](https://wordpress.org/support/users/cicistorelocatorpluscom/).
 *  [cicistorelocatorplus](https://wordpress.org/support/users/cicistorelocatorpluscom/)
 * (@cicistorelocatorpluscom)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-php-8-1/#post-15939146)
 * Hello Again,
 * The developer has put in a lot of due diligence and testing and research concerning
   the PHP version. ( His [News posts here](https://storelocatorplus.com/wordpress-php-8-1-compatibility/)
   about this) WordPress issued there own reporting. PHP 8.1 is not fully compatible
   with WP core. They have clarified the requirements side as such “IMPORTANT: WordPress
   6.0 has beta support for PHP 8.0 and PHP 8.1. If used some of these versions 
   may get some Warnings.”
    Thank you for bringing this to our attention so we can
   identify to customers the best ways to move forward prior to updating PHP versions

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

The topic ‘Fatal Error PHP 8.1’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/store-locator-le_dac7af.svg)
 * [Store Locator Plus®](https://wordpress.org/plugins/store-locator-le/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/store-locator-le/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/store-locator-le/)
 * [Active Topics](https://wordpress.org/support/plugin/store-locator-le/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/store-locator-le/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/store-locator-le/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [cicistorelocatorplus](https://wordpress.org/support/users/cicistorelocatorpluscom/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-php-8-1/#post-15939146)
 * Status: not resolved