Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Causes Fatal Error on PHP 8 #63

Open
briannehinchliffe opened this issue Aug 5, 2024 · 0 comments
Open

Causes Fatal Error on PHP 8 #63

briannehinchliffe opened this issue Aug 5, 2024 · 0 comments

Comments

@briannehinchliffe
Copy link

When updating our WooTheme site to PHP 8 we get this fatal error:

Fatal error: Uncaught ValueError: Unknown format specifier "a" in /Users/briannehinchliffe/Sites/lindas-closet/app/public/wp-content/plugins/features-by-woothemes/classes/class-woothemes-features.php:87

We tracked this down in the files and this is the line:
'search_items' => sprintf( __( 'Search %a', 'woothemes-features' ), __( 'Features', 'woothemes-features' ) ),

I'm guessing the %a here is supposed to be %s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant