Title: Error Analysing Code · Issue #412 · drupal-code-builder/drupal-code-builder · GitHub
Open Graph Title: Error Analysing Code · Issue #412 · drupal-code-builder/drupal-code-builder
X Title: Error Analysing Code · Issue #412 · drupal-code-builder/drupal-code-builder
Description: Notes: Similar to this issue, but shared here for enough differences found with diff checker, and the notice that any code analysis be addressed here instead. Drupal CMS 11.2.4 (fresh local install on macOS 15.6.1) Module Builder 1.4.3 n...
Open Graph Description: Notes: Similar to this issue, but shared here for enough differences found with diff checker, and the notice that any code analysis be addressed here instead. Drupal CMS 11.2.4 (fresh local install...
X Description: Notes: Similar to this issue, but shared here for enough differences found with diff checker, and the notice that any code analysis be addressed here instead. Drupal CMS 11.2.4 (fresh local install...
Opengraph URL: https://github.com/drupal-code-builder/drupal-code-builder/issues/412
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error Analysing Code","articleBody":"_Notes: Similar to [this issue](https://www.drupal.org/project/module_builder/issues/3481900), but shared here for enough differences found with diff checker, and the notice that any code analysis be addressed here instead._\n\n```\nDrupal CMS 11.2.4 (fresh local install on macOS 15.6.1)\nModule Builder 1.4.3\nnginx/1.28.0\nPHP 8.3.25 1GB\n10.11.14-MariaDB-ubu2204-log\n```\n\nGenerated error upon trying to analyse code after module installation:\n```\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /batch?id=2\u0026op=do_nojs\u0026op=do\nStatusText: error\nResponseText: The website encountered an unexpected error. Try again later.TypeError: count(): Argument #1 ($value) must be of type Countable|array, false given in count() (line 1179 of /var/www/html/vendor/drupal-code-builder/drupal-code-builder/Task/Collect/PluginTypesCollector.php). DrupalCodeBuilder\\Task\\Collect\\PluginTypesCollector-\u003eaddConfigSchemaPrefix() (Line: 317)\nDrupalCodeBuilder\\Task\\Collect\\PluginTypesCollector-\u003egatherPluginTypeInfo() (Line: 132)\nDrupalCodeBuilder\\Task\\Collect\\PluginTypesCollector-\u003ecollect() (Line: 143)\nDrupalCodeBuilder\\Task\\Collect-\u003ecollectComponentDataIncremental() (Line: 241)\nDrupal\\module_builder\\Form\\ProcessForm::batchOperation() (Line: 298)\n_batch_process() (Line: 139)\n_batch_do() (Line: 95)\n_batch_page() (Line: 52)\nDrupal\\system\\Controller\\BatchController-\u003ebatchPage()\ncall_user_func_array() (Line: 123)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber-\u003eDrupal\\Core\\EventSubscriber\\{closure}() (Line: 627)\nDrupal\\Core\\Render\\Renderer-\u003eexecuteInRenderContext() (Line: 121)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber-\u003ewrapControllerExecutionInRenderContext() (Line: 97)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber-\u003eDrupal\\Core\\EventSubscriber\\{closure}() (Line: 183)\nSymfony\\Component\\HttpKernel\\HttpKernel-\u003ehandleRaw() (Line: 76)\nSymfony\\Component\\HttpKernel\\HttpKernel-\u003ehandle() (Line: 53)\nDrupal\\Core\\StackMiddleware\\Session-\u003ehandle() (Line: 48)\nDrupal\\Core\\StackMiddleware\\KernelPreHandle-\u003ehandle() (Line: 28)\nDrupal\\Core\\StackMiddleware\\ContentLength-\u003ehandle() (Line: 32)\nDrupal\\big_pipe\\StackMiddleware\\ContentLength-\u003ehandle() (Line: 116)\nDrupal\\page_cache\\StackMiddleware\\PageCache-\u003epass() (Line: 90)\nDrupal\\page_cache\\StackMiddleware\\PageCache-\u003ehandle() (Line: 48)\nDrupal\\Core\\StackMiddleware\\ReverseProxyMiddleware-\u003ehandle() (Line: 51)\nDrupal\\Core\\StackMiddleware\\NegotiationMiddleware-\u003ehandle() (Line: 53)\nDrupal\\Core\\StackMiddleware\\AjaxPageState-\u003ehandle() (Line: 51)\nDrupal\\Core\\StackMiddleware\\StackedHttpKernel-\u003ehandle() (Line: 715)\nDrupal\\Core\\DrupalKernel-\u003ehandle() (Line: 19)\n```","author":{"url":"https://github.com/Dave-LeDev","@type":"Person","name":"Dave-LeDev"},"datePublished":"2025-09-25T20:28:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/412/drupal-code-builder/issues/412"}
| 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:2793f6dd-ec7e-6c72-8014-84e5c1e5bcfa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E70A:8B50E:23999EE:2E20DA1:6974CAEB |
| html-safe-nonce | 5d47ef2ae9f3c5d6edc8bd3d6c39d37d7cff3749b5b0bccc86a026f55c6cda96 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzBBOjhCNTBFOjIzOTk5RUU6MkUyMERBMTo2OTc0Q0FFQiIsInZpc2l0b3JfaWQiOiIxMzc2NjA3MjY4NjIyMzU1MTc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 66d327c7e0dbee2fe4884d4c45bccc7789e7374ca5ae9e7567ffc2d074fe3f59 |
| hovercard-subject-tag | issue:3454999188 |
| 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/drupal-code-builder/drupal-code-builder/412/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f51adf260125b5cc10a220a66d3c9942b1cb5fa24ebb5aa8a85e23ee63c87593/drupal-code-builder/drupal-code-builder/issues/412 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f51adf260125b5cc10a220a66d3c9942b1cb5fa24ebb5aa8a85e23ee63c87593/drupal-code-builder/drupal-code-builder/issues/412 |
| og:image:alt | Notes: Similar to this issue, but shared here for enough differences found with diff checker, and the notice that any code analysis be addressed here instead. Drupal CMS 11.2.4 (fresh local install... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Dave-LeDev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/drupal-code-builder/drupal-code-builder git https://github.com/drupal-code-builder/drupal-code-builder.git |
| octolytics-dimension-user_id | 17483076 |
| octolytics-dimension-user_login | drupal-code-builder |
| octolytics-dimension-repository_id | 52555754 |
| octolytics-dimension-repository_nwo | drupal-code-builder/drupal-code-builder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 52555754 |
| octolytics-dimension-repository_network_root_nwo | drupal-code-builder/drupal-code-builder |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width