We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
classifai.php:91
See in PHP 8.0.30
The sprintf function call doesn't include a format specifier for the string to be replaced. Instead of %s it's %.
sprintf
%s
%
classifai/classifai.php
Line 91 in fd8991c
Running PHP 8.0 (and possibly other versions) this causes a fatal error during activation of the plugin.
npm i; composer i; npm run build
[07-Mar-2024 00:10:18 UTC] PHP Fatal error: Uncaught ValueError: Missing format specifier at end of string in /vagrant/content/plugins/classifai/classifai.php:91 Stack trace: #0 /vagrant/content/plugins/classifai/classifai.php(91): sprintf('Fatal Error: Co...', '/vagrant/conten...') #1 /vagrant/content/plugins/classifai/classifai.php(116): classifai_autoload() #2 /vagrant/content/plugins/classifai/classifai.php(152): classifai_autorun() #3 /vagrant/wp-build/wp-admin/includes/plugin.php(2389): include_once('/vagrant/conten...') #4 /vagrant/wp-build/wp-admin/includes/plugin.php(675): plugin_sandbox_scrape('classifai/class...') #5 /vagrant/wp-build/wp-admin/plugins.php(60): activate_plugin('classifai/class...', 'http://xu-class...', false) #6 {main} thrown in /vagrant/content/plugins/classifai/classifai.php on line 91
No response
The text was updated successfully, but these errors were encountered:
I believe #740 fixes this
Sorry, something went wrong.
Sorry Darin, I'm still on my first tab for the reviews you sent through.
dkotter
Successfully merging a pull request may close this issue.
Describe the bug
See in PHP 8.0.30
The
sprintf
function call doesn't include a format specifier for the string to be replaced. Instead of%s
it's%
.classifai/classifai.php
Line 91 in fd8991c
Running PHP 8.0 (and possibly other versions) this causes a fatal error during activation of the plugin.
Steps to Reproduce
npm i; composer i; npm run build
in the command lineScreenshots, screen recording, code snippet
Environment information
WordPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: