PHP Fatal error: Uncaught Error: method I18n::insertArgs() in /usr/share/php/Cake/basics.php:638

Hello guys, i tried running a command in my cake console and i got this error. After my research online, the error was related to conflict in the version of the cakephp so i tried balancing the versions on the console but still got the same error.

Did you try deleting your composer lock and vendor directory and do a composer install?

i have not tried that… let me try it now and give you feedback