Title: Plugin not compatible with PHP8.0
Last modified: July 14, 2022

---

# Plugin not compatible with PHP8.0

 *  Resolved [pankaj08](https://wordpress.org/support/users/pankaj08/)
 * (@pankaj08)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-php8-0/)
 * On updating my website on PHP8.0, the following error is appearing with the plugin.
   Website URL – [http://carry-ontrailer.com/](http://carry-ontrailer.com/)
 * 4 PHP Fatal error: Uncaught Error: Call to undefined function create_function()
   in /nas/content/live/cotprod/wp-content/plugins/store-locator/sl-inc/includes/
   via-latest.php:67\nStack trace:\n#0 /nas/content/live/cotprod/wp-content/plugins/
   store-locator/store-locator.php(35): include_once()\n#1 /nas/content/live/cotprod/
   wp-settings.php(428): include_once(‘/nas/content/li…’)\n#2 /nas/content/live/
   cotprod/wp-config.php(70): require_once(‘/nas/content/li…’)\n#3 /nas/content/
   live/cotprod/wp-load.php(50): require_once(‘/nas/content/li…’)\n#4 /nas/content/
   live/cotprod/wp-blog-header.php(13): require_once(‘/nas/content/li…’)\n#5 /nas/
   content/live/cotprod/index.php(17): require(‘/nas/content/li…
    ‘)\n#6 {main}\
   n thrown in /nas/content/live/cotprod/wp-content/plugins/store-locator/sl-inc/
   includes/via-latest.php on line 67

Viewing 1 replies (of 1 total)

 *  Plugin Author [Viadat](https://wordpress.org/support/users/viadat/)
 * (@viadat)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-php8-0/#post-15899030)
 * Thanks, should now be resolved

Viewing 1 replies (of 1 total)

The topic ‘Plugin not compatible with PHP8.0’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/store-locator_343c21.svg)
 * [Store Locator for WordPress with Google Maps – LotsOfLocales](https://wordpress.org/plugins/store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/store-locator/reviews/)

## Tags

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)
 * [php 8](https://wordpress.org/support/topic-tag/php-8/)

 * 1 reply
 * 2 participants
 * Last reply from: [Viadat](https://wordpress.org/support/users/viadat/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-php8-0/#post-15899030)
 * Status: resolved