You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
w2p_Database_Query::addField()/alterField() deprecated since v3.0 with no replacement, and still used by core #549
w2p_Database_Query::addField() and alterField() raise E_USER_NOTICE "has been deprecated in v3.0 and will be removed by v4.0". We're at 5.0, there's no documented replacement, and core still uses them: modules/resources/setup.phpupgrade() calls both.
Add-on modules adding a column in upgrade() have no clean option, so every install and upgrade logs the notice (seen with Notebook).
Either un-deprecate them (they are the natural pair to alterTable()), or add a replacement such as addColumn($name, $definition) / changeColumn(), switch Resources to it, and mention it in the manual's "Updating Add On Modules for v5.0" section.
Activity