I upgraded PHP 7.4 to 8.1and Yii application giving some errors then i upgraded Yii version from 2.0.15 to 2.0.45 using composer update, and still didn’t work application
the error says that i need to change some protected variables to public and when its done it’s giving

Without posting full stack trace, no body will know how to help. Also update to 2.0.47 as .45 is not the latest
1 Like