Upgrading K2 from 2.4.1 to 2.5 on Linux server

Because unlike windows, some Linux servers may consider files in different case to be different and do not overwrite them. So you’ll have e.g. controllers for both old and new K2 version.
So after you upgrade K2 on server, then you check out the following folders:
administrator/components/com_k2/controllers/

usergroups.php
userGroups.php
usergroup.php
userGroup.php
extrafieldsgroups.php
extraFieldsGroups.php
extrafieldsgroup.php
extraFieldsGroup.php
extrafields.php
extraFields.php
extrafield.php
extraField.php

administrator/components/com_k2/models/

userGroup.xml
usergroup.xml

In K2 version 2.5 corresponding files are lowercase. If you have such an issue, you just delete older files. Otherwise, the possibility of referring extensions to old version files exists and may cause issues.

Thanks for your reading, and if you have any questions with this blog, don’t hesitate to let us know by leaving a comment.

Rate for post
LT Digital Team (Content & Marketing)
Latest posts by LT Digital Team (Content & Marketing) (see all)
All-In-One Membership Access PRO version of all 500+ all Joomla! templates and WordPress themes. Just from $7.25/MO Learn more
🎉 Merry xMas & Happy New Year sale! Grab 50% Off for everything on today, don't miss it. Coupon code: XMASNEWYEAR Redeem Now