Title: PHP 8
Last modified: March 14, 2022

---

# PHP 8

 *  [ocean75](https://wordpress.org/support/users/ocean75/)
 * (@ocean75)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-8-49/)
 * Hi
 * We encounter error in this plugin when we try to update our site to PHP 8.
 * Will there be a fix on this soon?

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

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-8-49/#post-15457953)
 * What’s the exact error and PHP version ( 8.x.x ) your using?
 *  Thread Starter [ocean75](https://wordpress.org/support/users/ocean75/)
 * (@ocean75)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-8-49/#post-15459742)
 * Hi
 * PHP 8.0.16
 * Error code:
 *     ```
       En feil av typen E_ERROR ble forårsaket i linje 906 i filen /var/www/vhosts/industri.asafety.no/httpdocs/wp-content/plugins/wp-store-locator/admin/class-metaboxes.php. Feilmelding: Uncaught ValueError: Unknown format specifier " " in /var/www/vhosts/industri.asafety.no/httpdocs/wp-content/plugins/wp-store-locator/admin/class-metaboxes.php:906
       Stack trace:
       #0 /var/www/vhosts/industri.asafety.no/httpdocs/wp-content/plugins/wp-store-locator/admin/class-metaboxes.php(906): sprintf()
       #1 /var/www/vhosts/industri.asafety.no/httpdocs/wp-includes/class-wp-hook.php(307): WPSL_Metaboxes->store_update_messages()
       #2 /var/www/vhosts/industri.asafety.no/httpdocs/wp-includes/plugin.php(189): WP_Hook->apply_filters()
       #3 /var/www/vhosts/industri.asafety.no/httpdocs/wp-admin/edit-form-advanced.php(219): apply_filters()
       #4 /var/www/vhosts/industri.asafety.no/httpdocs/wp-admin/post.php(206): require('...')
       #5 {main}
         thrown
       ```
   
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-8-49/#post-15461007)
 * When exactly does this error show up? When you save a store, access the settings
   page already or directly when you access the admin area?
 * I tried to replicate it, but so far no success.

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

The topic ‘PHP 8’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/php-8-49/#post-15461007)
 * Status: not resolved