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 &Amp; Marketing)

Summer Sale Grab 50% Off for everything on today, don't miss it. Coupon code: SUMMER2024 Redeem Now
Summer Sale Grab 50% Off for everything on today, don't miss it. Coupon code: SUMMER2024 Redeem Now