woosidebars icon indicating copy to clipboard operation
woosidebars copied to clipboard

Error in "class-woo-sidebars.php" line:170 causes site breakdown!

Open AliBorsan opened this issue 3 years ago • 1 comments

There is an error in line: 170 causes site breakdown: 170 'search_items' => sprintf( __( 'Search %a', 'woosidebars' ), $plural ), I could make the site working again by disabling this line or replacing "%a" with "%s" 170 'search_items' => sprintf( __( 'Search %s', 'woosidebars' ), $plural ),

The same error exists in older versions in different line number contains the same code. "%a" doesent make any sense , which i think it was some typo .. I hope that this solution help people who had the same problem.

AliBorsan avatar Mar 15 '21 06:03 AliBorsan

This error only started as PHP8 sprintf now throws an Exception instead of returning false on failure.

PR open - but this looks abandoned, so I highly doubt it will get fixed :-(

https://github.com/woocommerce/woosidebars/pull/80

nicko170 avatar Oct 15 '21 03:10 nicko170