Skip to content

Ability to disable or expire deprecation errors? #10049

Answered by brandonkelly
FreekVR asked this question in Ideas
Discussion options

You must be logged in to vote

You can disable deprecation errors from config/app.php like so:

return [
    'components' => [
        'deprecator' => [
            'logTarget' => false,
        ],
    ],
];

Though I wouldn’t recommend you do that. The majority of those are going to flat out stop working when you update the site to Craft 4, so it’s imperative that you start going through and fixing them.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@FreekVR
Comment options

@brandonkelly
Comment options

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants