Title: sprintf(): Too few arguments · Issue #124 · wp-cli/php-cli-tools · GitHub
Open Graph Title: sprintf(): Too few arguments · Issue #124 · wp-cli/php-cli-tools
X Title: sprintf(): Too few arguments · Issue #124 · wp-cli/php-cli-tools
Description: Can't really figure this one out. Sometimes (not often, but often enough to end up in my logs and irritate me) \cli\line() causes a warning: sprintf(): Too few arguments. This is the offending line: \cli\line("[%C%k%s%N] Starting!", date...
Open Graph Description: Can't really figure this one out. Sometimes (not often, but often enough to end up in my logs and irritate me) \cli\line() causes a warning: sprintf(): Too few arguments. This is the offending line...
X Description: Can't really figure this one out. Sometimes (not often, but often enough to end up in my logs and irritate me) \cli\line() causes a warning: sprintf(): Too few arguments. This is the offending ...
Opengraph URL: https://github.com/wp-cli/php-cli-tools/issues/124
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sprintf(): Too few arguments","articleBody":"Can't really figure this one out. Sometimes (not often, but often enough to end up in my logs and irritate me) \\cli\\line() causes a warning: sprintf(): Too few arguments.\r\n\r\nThis is the offending line:\r\n```\r\n\\cli\\line(\"[%C%k%s%N] Starting!\", date(\"Y-m-d H:i:s\"));\r\n```\r\n\r\nCan't really see how the argument to sprintf() gets lost here, but obv it does. \r\n\r\nenvironment: php5.6.33 (with mbstring) on debian, php-cli-tools v0.11.8.\r\n\r\nLogfile trace:\r\n ```sprintf(): Too few arguments\r\nin function LoggingErrorHandler::handleError\r\nin function call_user_func in /foo/include/classes/LoggingErrorHandler.php on line 402\r\nin function LoggingErrorHandler::{closure}\r\nin function sprintf\r\nin function call_user_func_array in /foo/include/deps/wp-cli/php-cli-tools/lib/cli/Streams.php on line 48\r\nin function cli\\Streams::render\r\nin function call_user_func_array in /foo/include/deps/wp-cli/php-cli-tools/lib/cli/Streams.php on line 13\r\nin function cli\\Streams::_call in /foo/include/deps/wp-cli/php-cli-tools/lib/cli/Streams.php on line 68\r\nin function cli\\Streams::out\r\nin function call_user_func_array in /foo/include/deps/wp-cli/php-cli-tools/lib/cli/Streams.php on line 13\r\nin function cli\\Streams::_call in /foo/include/deps/wp-cli/php-cli-tools/lib/cli/Streams.php on line 95\r\nin function cli\\Streams::line\r\nin function call_user_func_array in /foo/include/deps/wp-cli/php-cli-tools/lib/cli/Streams.php on line 13\r\nin function cli\\Streams::_call in /foo/include/deps/wp-cli/php-cli-tools/lib/cli/cli.php on line 62\r\nin function cli\\line in /foo/bin/my_foobar_script.php on line 35\r\n```","author":{"url":"https://github.com/nahkampf","@type":"Person","name":"nahkampf"},"datePublished":"2018-02-28T09:52:04Z","url":"https://github.com/wp-cli/php-cli-tools/issues/124"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b8894792-d01d-a458-e501-a0f5663bba46 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F34:32C90A:7BC3DE:ABD602:6AFA05E2 |
| html-safe-nonce | 4a4875f383db84f54c6e2162d4189b23614da0b29273d8295fd88f780a3fc339 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjM0OjMyQzkwQTo3QkMzREU6QUJENjAyOjZBRkEwNUUyIiwidmlzaXRvcl9pZCI6IjY4MzAyMDkyOTkxNzYzNTkzOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a1f65e152ceecf8669ef0f0bd8f2932b27f6c02bf938ea9181c9ce5f98401b13 |
| hovercard-subject-tag | issue:300957976 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/wp-cli/php-cli-tools/124/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cdf0d2a5919e17c0f9aaf7907f2e7ebd9aee3125a1c3b4042d9ef8a63cc66931/wp-cli/php-cli-tools/issues/124 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cdf0d2a5919e17c0f9aaf7907f2e7ebd9aee3125a1c3b4042d9ef8a63cc66931/wp-cli/php-cli-tools/issues/124 |
| og:image:alt | Can't really figure this one out. Sometimes (not often, but often enough to end up in my logs and irritate me) \cli\line() causes a warning: sprintf(): Too few arguments. This is the offending line... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nahkampf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/wp-cli/php-cli-tools git https://github.com/wp-cli/php-cli-tools.git |
| octolytics-dimension-user_id | 1570774 |
| octolytics-dimension-user_login | wp-cli |
| octolytics-dimension-repository_id | 587642 |
| octolytics-dimension-repository_nwo | wp-cli/php-cli-tools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 587642 |
| octolytics-dimension-repository_network_root_nwo | wp-cli/php-cli-tools |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width