Title: Not compatible with PHP8
Last modified: January 16, 2021

---

# Not compatible with PHP8

 *  [daver](https://wordpress.org/support/users/flyonthenetcom/)
 * (@flyonthenetcom)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/)
 * woosidebars seems isn’t compatible with PHP8
 * When enabling, this fatal error is generated:
 * `Uncaught ValueError: Unknown format specifier "a" in /wp-content/plugins/woosidebars/
   classes/class-woo-sidebars.php:170`
 * Tested with version 1.4.5 (latest)
    Rolling back to PHP 7.4 run fine.
 * D.

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

 *  [luckacv](https://wordpress.org/support/users/luckacv/)
 * (@luckacv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-14033570)
 * Hello,
    I have the same problem – can you please create a new version of Woosidebars
   with update to work with PHP8?
 * Thank you Lucka
 *  [wooq123](https://wordpress.org/support/users/wooq123/)
 * (@wooq123)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-14038144)
 * Same problem – this is the only plugin holding me back from PHP 8.0.2. An update
   for PHP 8 support would be awesome (or maybe someone could figure out how to 
   update that line 170 to not throw the error).
 *  [marekp19](https://wordpress.org/support/users/marekp19/)
 * (@marekp19)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-14040607)
 * Also interested, having the same problem.
 *  [tatutre](https://wordpress.org/support/users/tatutre/)
 * (@tatutre)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-14054782)
 * You should be able to fix it yourself by changing the %a to %s on the line 170
   before the plugin author publishes the fix.
 *  [curiousharshit](https://wordpress.org/support/users/curiousharshit/)
 * (@curiousharshit)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-14142756)
 * [@tatutre](https://wordpress.org/support/users/tatutre/) Thank You for solution.
 *  [prokops](https://wordpress.org/support/users/prokops/)
 * (@prokops)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-14608863)
 * Is a update coming for this plugin or is it abandoned?
 *  [webparaplan](https://wordpress.org/support/users/webparaplan/)
 * (@webparaplan)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-14650262)
 * Yes, I have same error.
    THX for fix. And waiting official update!
 *  [jenskirk](https://wordpress.org/support/users/jenskirk/)
 * (@jenskirk)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-14698776)
 * Any news please? Abandoned plugin?
 *  [jenskirk](https://wordpress.org/support/users/jenskirk/)
 * (@jenskirk)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-14722554)
 * The error is fixed by going to the file:
    `/wp-content/plugins/woosidebars/classes/
   class-woo-sidebars.php`
 * And chaning line 170 from:
    `'search_items' => sprintf( __( 'Search %a', 'woosidebars'),
   $plural ),`
 * To:
    `'search_items' => sprintf( __( 'Search %s', 'woosidebars' ), $plural ),`
 *  [martinkroeger](https://wordpress.org/support/users/martinkroeger/)
 * (@martinkroeger)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-15064558)
 * Tusind tak, [@jenskirk](https://wordpress.org/support/users/jenskirk/) – det 
   var en life saver 🙏
 *  [Frank444](https://wordpress.org/support/users/rrank444/)
 * (@rrank444)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-15078790)
 * [@jenskirk](https://wordpress.org/support/users/jenskirk/) Thank you very much.
 *  [thompsonpaul](https://wordpress.org/support/users/thompsonpaul/)
 * (@thompsonpaul)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-15295474)
 * [@jenskirk](https://wordpress.org/support/users/jenskirk/) Nice job finding and
   describing the fix – much appreciated!
 *  [thompsonpaul](https://wordpress.org/support/users/thompsonpaul/)
 * (@thompsonpaul)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-15295523)
 * For other folks with this issue, and for what it’s worth – there is an update
   on Github that incorporates this fix. It was listed for stable release about 
   a week ago (Jan 20, 2022) so hopefully we’ll see the update available here soon.
 * Since it implements the same fix as [@jenskirk](https://wordpress.org/support/users/jenskirk/)‘
   s solution, there will be no issue for those of us who have updated the plugin
   manually.

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

The topic ‘Not compatible with PHP8’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woosidebars_a9c7b8.svg)
 * [WooSidebars](https://wordpress.org/plugins/woosidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woosidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woosidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/woosidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woosidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woosidebars/reviews/)

 * 13 replies
 * 12 participants
 * Last reply from: [thompsonpaul](https://wordpress.org/support/users/thompsonpaul/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/not-compatible-with-php8-2/#post-15295523)
 * Status: not a support question