Migration Issue

I am migrating client project from cakephp2.3 to cakephp3.4, and am getting the below error
Error:: “PHP Fatal error: Class ‘Cake\Routing\Router’ not found in /var/www/html/my-project/vendor/cakephp/cakephp/config/bootstrap.php on line 23”, any idea???

try follow this path from ftp/ssh or other way and check if it is there.
Also check this: https://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#core-definition-constants and paths settings.

or maybe you need to add some "use … " ?

thanks mate @jarekgol for the reply. I have checked it both path and constants, have used “use” but it was not working as expected not only this wherever we have “use” it was throwing the specific class not found error not sure what is happening.

Below is my working conf of 3.1.10 version. It is two folder deep below htdocs, you can compare it with yours.
Ps. how you exactly migrate?

CakePHP Constants
Constant Value
APP /var/www/htdocs/laser/blachy/src/
CACHE /var/www/htdocs/laser/blachy/tmp/cache/
CAKE /var/www/htdocs/laser/blachy/vendor/cakephp/cakephp/src/
CAKE_CORE_INCLUDE_PATH /var/www/htdocs/laser/blachy/vendor/cakephp/cakephp
CORE_PATH /var/www/htdocs/laser/blachy/vendor/cakephp/cakephp/
DS /
LOGS /var/www/htdocs/laser/blachy/logs/
ROOT /var/www/htdocs/laser/blachy
TESTS /var/www/htdocs/laser/blachy/tests/
TMP /var/www/htdocs/laser/blachy/tmp/
WWW_ROOT /var/www/htdocs/laser/blachy/webroot/

migration has done by referring https://book.cakephp.org/3.0/en/appendices/3-0-migration-guide.html#upgrade-tool (am very new to cakephp)

My conf looks like this.
APP /var/www/htdocs/reward/src/
CACHE /var/www/htdocs/reward/tmp/cache/
CAKE /var/www/htdocs/reward/vendor/cakephp/cakephp/src/
CAKE_CORE_INCLUDE_PATH /var/www/htdocs/reward/vendor/cakephp/cakephp
CORE_PATH /var/www/htdocs/reward/vendor/cakephp/cakephp/
DS /
LOGS /var/www/htdocs/reward/logs/
ROOT /var/www/htdocs/reward
TESTS /var/www/htdocs/reward/tests/
TMP /var/www/htdocs/reward/tmp/
WWW_ROOT /var/www/htdocs/reward/webroot/

Anyway i have changed the process of migration as of now i have created a new cakephp3.4 project and copied the controllers, models and views files which have been modified by upgrade tool and it is reaching the Appcontroller and as of now changing the model to tables and entity. Let me know your thoughts, hoping this will work :slight_smile:

Really appreciate your help @jarekgol