{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/7948","repository_url":"https://api.github.com/repos/silverstripe/silverstripe-framework","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/7948/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/7948/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/7948/events","html_url":"https://github.com/silverstripe/silverstripe-framework/issues/7948","id":307126579,"number":7948,"title":"Undefined class constant 'MODULE_FILTER'","user":{"login":"ntd","id":160618,"avatar_url":"https://avatars1.githubusercontent.com/u/160618?v=4","gravatar_id":"","url":"https://api.github.com/users/ntd","html_url":"https://github.com/ntd","followers_url":"https://api.github.com/users/ntd/followers","following_url":"https://api.github.com/users/ntd/following{/other_user}","gists_url":"https://api.github.com/users/ntd/gists{/gist_id}","starred_url":"https://api.github.com/users/ntd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntd/subscriptions","organizations_url":"https://api.github.com/users/ntd/orgs","repos_url":"https://api.github.com/users/ntd/repos","events_url":"https://api.github.com/users/ntd/events{/privacy}","received_events_url":"https://api.github.com/users/ntd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-21T05:47:29Z","updated_at":"2018-03-21T07:05:14Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I'm upgrading a quite basic project from 4.0.1 to 4.1.0. This is the result after the first try:\r\n```\r\n$ composer update\r\nLoading composer repositories with package information\r\nUpdating dependencies (including require-dev)\r\nPackage operations: 0 installs, 28 updates, 0 removals\r\n  - Updating silverstripe/vendor-plugin (1.2.0 => 1.3.1): Downloading (100%)         \r\n  - Updating symfony/yaml (v3.4.3 => v3.4.6): Downloading (100%)         \r\n  - Updating symfony/polyfill-mbstring (v1.6.0 => v1.7.0): Downloading (100%)         \r\n  - Updating symfony/translation (v2.8.33 => v2.8.36): Downloading (100%)         \r\n  - Updating symfony/filesystem (v3.4.3 => v3.4.6): Downloading (100%)         \r\n  - Updating symfony/config (v3.4.3 => v3.4.6): Downloading (100%)         \r\n  - Updating symfony/polyfill-apcu (v1.6.0 => v1.7.0): Downloading (100%)         \r\n  - Updating psr/simple-cache (1.0.0 => 1.0.1): Downloading (100%)         \r\n  - Updating symfony/cache (v3.4.3 => v3.4.6): Downloading (100%)         \r\n  - Updating swiftmailer/swiftmailer (v5.4.8 => v5.4.9): Downloading (100%)         \r\n  - Updating symfony/finder (v3.4.3 => v3.4.6): Downloading (100%)         \r\n  - Updating silverstripe/config (1.0.1 => 1.0.4): Downloading (100%)         \r\n  - Updating silverstripe/framework (4.0.1 => 4.1.0): Downloading (100%)         \r\nPHP Fatal error:  Undefined class constant 'MODULE_FILTER' in .../vendor/silverstripe/vendor-plugin/src/Library.php on line 230\r\n\r\nFatal error: Undefined class constant 'MODULE_FILTER' in .../vendor/silverstripe/vendor-plugin/src/Library.php on line 230\r\n```\r\n\r\nI searched through the [upgrading guide](https://docs.silverstripe.org/en/4/changelogs/4.1.0/#upgrading) but found nothing relevant. A second try solved the issue:\r\n```\r\n$ composer update\r\nLoading composer repositories with package information\r\nUpdating dependencies (including require-dev)\r\nPackage operations: 0 installs, 16 updates, 0 removals\r\n  - Updating silverstripe/framework (4.0.1 => 4.1.0): Loading from cache\r\nExposing web directories for silverstripe-vendormodule silverstripe/framework with method auto:\r\n  - client/images\r\n  - client/styles\r\n  - src/Dev/Install/client\r\n  - Updating silverstripe/assets (1.0.1 => 1.1.0): Downloading (100%)         \r\n  - Updating nikic/php-parser (v3.1.3 => v3.1.5): Downloading (100%)         \r\n  - Updating league/flysystem (1.0.41 => 1.0.43): Downloading (100%)         \r\n  - Updating embed/embed (v3.2.2 => v3.3.1): Downloading (100%)         \r\n  - Updating silverstripe/versioned (1.0.1 => 1.1.0): Downloading (100%)         \r\n  - Updating silverstripe/admin (1.0.1 => 1.1.0): Downloading (100%)         \r\nExposing web directories for silverstripe-vendormodule silverstripe/admin with method auto:\r\n  - client/dist\r\n  - client/lang\r\n  - thirdparty\r\n  - Updating silverstripe/siteconfig (4.0.1 => 4.1.0): Downloading (100%)         \r\n  - Updating silverstripe/reports (4.0.1 => 4.1.0): Downloading (100%)         \r\nExposing web directories for silverstripe-vendormodule silverstripe/reports with method auto:\r\n  - javascript\r\n  - Updating silverstripe/campaign-admin (1.0.1 => 1.1.0): Downloading (100%)         \r\nExposing web directories for silverstripe-vendormodule silverstripe/campaign-admin with method auto:\r\n  - client/dist\r\n  - client/lang\r\n  - Updating silverstripe/graphql (1.0.1 => 1.1.0): Downloading (100%)         \r\n  - Updating silverstripe/asset-admin (1.0.1 => 1.1.0): Downloading (100%)         \r\nExposing web directories for silverstripe-vendormodule silverstripe/asset-admin with method auto:\r\n  - client/dist\r\n  - client/lang\r\n  - Updating silverstripe/cms (4.0.1 => 4.1.0): Downloading (100%)         \r\nExposing web directories for silverstripe-vendormodule silverstripe/cms with method auto:\r\n  - client/dist\r\n  - client/lang\r\n  - Updating silverstripe/errorpage (1.0.1 => 1.1.0): Downloading (100%)         \r\n  - Updating undefinedoffset/sortablegridfield (2.0.2 => 2.0.4): Downloading (100%)         \r\nExposing web directories for silverstripe-vendormodule undefinedoffset/sortablegridfield with method auto:\r\n  - css\r\n  - javascript\r\n  - Updating axllent/silverstripe-enquiry-page (2.1.0 => 2.1.1): Downloading (100%)         \r\nExposing web directories for silverstripe-vendormodule axllent/silverstripe-enquiry-page with method auto:\r\n  - images\r\n  - javascript\r\nWriting lock file\r\nGenerating autoload files\r\n```"},"comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/comments/374848853","html_url":"https://github.com/silverstripe/silverstripe-framework/issues/7948#issuecomment-374848853","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/7948","id":374848853,"user":{"login":"ntd","id":160618,"avatar_url":"https://avatars1.githubusercontent.com/u/160618?v=4","gravatar_id":"","url":"https://api.github.com/users/ntd","html_url":"https://github.com/ntd","followers_url":"https://api.github.com/users/ntd/followers","following_url":"https://api.github.com/users/ntd/following{/other_user}","gists_url":"https://api.github.com/users/ntd/gists{/gist_id}","starred_url":"https://api.github.com/users/ntd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntd/subscriptions","organizations_url":"https://api.github.com/users/ntd/orgs","repos_url":"https://api.github.com/users/ntd/repos","events_url":"https://api.github.com/users/ntd/events{/privacy}","received_events_url":"https://api.github.com/users/ntd/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T07:05:14Z","updated_at":"2018-03-21T07:05:14Z","author_association":"CONTRIBUTOR","body":"> Would it be better if we say in the upgrade guide to update the recipe plugin first, then update everything else?\r\n\r\nIt would have certainly helped me :wink:"}}
{"actor":{"display_login":"ntd"}}