Dear Sanjeev,
thanks for your prompt reply, it can be installed now.
sjliu
Uncaught PHP Exception Doctrine\Persistence\Mapping\MappingException: "Class 'UVDeskCoreFrameworkBundle:SupportRole' does not exist" at C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\persistence\src\Persistence\Mapping\MappingException.php line 90
request Hide context Hide trace
{▼
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\persistence\src\Persistence\Mapping\MappingException.php:90 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\persistence\src\Persistence\Mapping\AbstractClassMetadataFactory.php:173 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php:313 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\doctrine-bundle\Repository\ContainerRepositoryFactory.php:40 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php:816 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\var\cache\dev\ContainerEUNmuHw\EntityManager_9a5be93.php:227 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\src\Controller\ConfigureHelpdesk.php:291 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\symfony\http-kernel\HttpKernel.php:152 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\symfony\http-kernel\HttpKernel.php:74 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\symfony\http-kernel\Kernel.php:202 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php:35 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\autoload_runtime.php:35 {}
C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\public\index.php:5 {}
}
[▼
"exception" => Doctrine\Persistence\Mapping\MappingException {#657 }
]
@sjliu
Update your composer.yaml file by below code:
{
"type": "project",
"license": "proprietary",
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": "^7.2.5 || ^8.0",
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/annotations": "^1.0",
"doctrine/doctrine-bundle": "^2.6",
"doctrine/doctrine-fixtures-bundle": "3.4.1",
"doctrine/doctrine-migrations-bundle": "^2.2",
"doctrine/orm": "^2.12",
"google/recaptcha": "^1.2",
"knplabs/knp-paginator-bundle": "^5.8",
"phpdocumentor/reflection-docblock": "^5.3",
"phpstan/phpdoc-parser": "^1.2",
"sensio/framework-extra-bundle": "^6.1",
"symfony/asset": "^5.4",
"symfony/console": "^5.4",
"symfony/dotenv": "^5.4",
"symfony/expression-language": "^5.4",
"symfony/flex": "^1.17|^2",
"symfony/form": "^5.4",
"symfony/framework-bundle": "^5.4",
"symfony/http-client": "^5.4",
"symfony/intl": "^5.4",
"symfony/mailer": "^5.4",
"symfony/mime": "^5.4",
"symfony/monolog-bundle": "^3.1",
"symfony/notifier": "^5.4",
"symfony/process": "^5.4",
"symfony/property-access": "^5.4",
"symfony/property-info": "^5.4",
"symfony/proxy-manager-bridge": "^5.4",
"symfony/runtime": "^5.4",
"symfony/security-bundle": "^5.4",
"symfony/serializer": "^5.4",
"symfony/string": "^5.4",
"symfony/swiftmailer-bundle": "^3.5",
"symfony/translation": "^5.4",
"symfony/twig-bundle": "^5.4",
"symfony/validator": "^5.4",
"symfony/web-link": "^5.4",
"symfony/yaml": "^5.4",
"twig/extra-bundle": "^2.12|^3.0",
"twig/twig": "^2.12|^3.0",
"uvdesk/automation-bundle": "^1.1",
"uvdesk/composer-plugin": "^1.1",
"uvdesk/core-framework": "^1.1",
"uvdesk/extension-framework": "^1.1",
"uvdesk/mailbox-component": "^1.1",
"uvdesk/support-center-bundle": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"symfony/browser-kit": "^5.4",
"symfony/css-selector": "^5.4",
"symfony/debug-bundle": "^5.4",
"symfony/maker-bundle": "^1.0",
"symfony/phpunit-bridge": "^6.0",
"symfony/stopwatch": "^5.4",
"symfony/web-profiler-bundle": "^5.4"
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"symfony/flex": true,
"symfony/runtime": true,
"uvdesk/composer-plugin": true
},
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php72": "*"
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
]
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"allow-contrib": false,
"require": "^5.4"
}
}
}
Finally run below command:
composer update
And setup again.
@sjliu
Update your composer.yaml file by below code:
{
"type": "project",
"license": "proprietary",
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": "^7.2.5 || ^8.0",
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/annotations": "^1.0",
"doctrine/doctrine-bundle": "^2.6",
"doctrine/doctrine-fixtures-bundle": "3.4.1",
"doctrine/doctrine-migrations-bundle": "^2.2",
"doctrine/orm": "^2.12",
"google/recaptcha": "^1.2",
"knplabs/knp-paginator-bundle": "^5.8",
"phpdocumentor/reflection-docblock": "^5.3",
"phpstan/phpdoc-parser": "^1.2",
"sensio/framework-extra-bundle": "^6.1",
"symfony/asset": "^5.4",
"symfony/console": "^5.4",
"symfony/dotenv": "^5.4",
"symfony/expression-language": "^5.4",
"symfony/flex": "^1.17|^2",
"symfony/form": "^5.4",
"symfony/framework-bundle": "^5.4",
"symfony/http-client": "^5.4",
"symfony/intl": "^5.4",
"symfony/mailer": "^5.4",
"symfony/mime": "^5.4",
"symfony/monolog-bundle": "^3.1",
"symfony/notifier": "^5.4",
"symfony/process": "^5.4",
"symfony/property-access": "^5.4",
"symfony/property-info": "^5.4",
"symfony/proxy-manager-bridge": "^5.4",
"symfony/runtime": "^5.4",
"symfony/security-bundle": "^5.4",
"symfony/serializer": "^5.4",
"symfony/string": "^5.4",
"symfony/swiftmailer-bundle": "^3.5",
"symfony/translation": "^5.4",
"symfony/twig-bundle": "^5.4",
"symfony/validator": "^5.4",
"symfony/web-link": "^5.4",
"symfony/yaml": "^5.4",
"twig/extra-bundle": "^2.12|^3.0",
"twig/twig": "^2.12|^3.0",
"uvdesk/automation-bundle": "^1.1",
"uvdesk/composer-plugin": "^1.1",
"uvdesk/core-framework": "^1.1",
"uvdesk/extension-framework": "^1.1",
"uvdesk/mailbox-component": "^1.1",
"uvdesk/support-center-bundle": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"symfony/browser-kit": "^5.4",
"symfony/css-selector": "^5.4",
"symfony/debug-bundle": "^5.4",
"symfony/maker-bundle": "^1.0",
"symfony/phpunit-bridge": "^6.0",
"symfony/stopwatch": "^5.4",
"symfony/web-profiler-bundle": "^5.4"
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"symfony/flex": true,
"symfony/runtime": true,
"uvdesk/composer-plugin": true
},
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php72": "*"
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
]
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"allow-contrib": false,
"require": "^5.4"
}
}
}
Finally run below command:
composer update
And setup again.
Dear Sanjeev,
thanks for your prompt reply, it can be installed now.
sjliu
still facing the issue. even after using the above content in composer.json file in Windows.
please help.
Also seeing the same problem even after running compose update with the new composer.json
Clear the cache of project using this command:
php bin/console c:c
in your project root directory. Now try setup again of UVdesk.
Try with 2 method: Manual Setup:
Make a try once manual setup of UVdesk.
Check the below link for the manual setup from here
Note: Once you clear the cache of your browser and the project cache.
If still facing the error please let us know.
Mail your query to us at support@uvdesk.com. Our team will help you.