-
Notifications
You must be signed in to change notification settings - Fork 116
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
Uncaught ValueError: Unknown format specifier "!" #1489
Comments
Support forum issues: From Fatal Error when saving the SEO title meta with “%” in the post title
|
@krokodok Thank you! I think that's the right approach although I have a request in regards to what you said:
Because there's no real consistency, could you add a method to the abstract class That way it's easier to discover and document, especially when we go to document how to create new Connectors. And also add a test of the method to the |
@tharsheblows Good feedback! I don't have a lot of time for open source commitments right now, so feel free to take this on if you have some time on your hands. |
@krokodok Thank you! I can do that 😊 |
Bug Report
Expected Behavior
Logging record on post update
Actual Behavior
Got:
Uncaught ValueError: Unknown format specifier "!" in /opt/www/html/wp-content/plugins/stream/classes/class-log.php:127
Stack trace:
#0 /opt/www/html/wp-content/plugins/stream/classes/class-log.php(127): vsprintf()
#1 [internal function]: WP_Stream\Log->log()
#2 /opt/www/html/wp-content/plugins/stream/classes/class-connector.php(178): call_user_func_array()
#3 /opt/www/html/wp-content/plugins/stream/connectors/class-connector-wordpress-seo.php(433): WP_Stream\Connector->log()
#4 /opt/www/html/wp-content/plugins/stream/connectors/class-connector-wordpress-seo.php(353): WP_Stream\Connector_WordPress_SEO->meta()
#5 [internal function]: WP_Stream\Connector_WordPress_SEO->callback_added_post_meta()
#6 /opt/www/html/wp-content/plugins/stream/classes/class-connector.php(127): call_user_func_array()
#7 /opt/www/html/wp-includes/class-wp-hook.php(324): WP_Stream\Connector->callback()
#8 /opt/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#9 /opt/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
#10 /opt/www/html/wp-includes/meta.php(156): do_action()
#11 /opt/www/html/wp-includes/meta.php(252): add_metadata()
#12 /opt/www/html/wp-includes/post.php(2626): update_metadata()
#13 /opt/www/html/wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php(717): update_post_meta()
#14 /opt/www/html/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox.php(805): WPSEO_Meta::set_value()
#15 /opt/www/html/wp-includes/class-wp-hook.php(326): WPSEO_Metabox->save_postdata()
#16 /opt/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#17 /opt/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
#18 /opt/www/html/wp-includes/post.php(4839): do_action()
#19 /opt/www/html/wp-includes/post.php(4930): wp_insert_post()
#20 /opt/www/html/wp-admin/includes/post.php(453): wp_update_post()
#21 /opt/www/html/wp-admin/includes/post.php(2085): edit_post()
#22 /opt/www/html/wp-admin/post.php(336): post_preview()
#23 {main}
thrown
Steps to Reproduce the Problem
Screenshots
Drag and drop screenshots in this area that help illustrate the problem.
System Information
The text was updated successfully, but these errors were encountered: