Added deprecated error to init()

| Q             | A
| ------------- | ---
| Fixed tickets | [#12622]
| License       | MIT
Should be "The Kernel::init() method was deprecated in version 2.3 and will be removed in 3.0. ..."