I am not a developer but an accountant. I have spent tons of time installing SuiteCRM on localhost and now on the webhost too. Everything seems very well but the only problem I get whenever I try to access the Email module is "Error occurred while fetching metadata’. I have tried every possible solution I could. But no luck! I can access to everyother module but not sure why, it happened when I installed the CRM on localhost and now here too. It won’t show the error instantly, when a new installation is done, I was even able to send the test email, some other email templates I setup as a test. But after sometime, I got this error.
This is very important for me as I have spent tons of time setting this up. I can share the error log from console which is
ERROR Error: Uncaught (in promise): ApolloError: Internal server error
ApolloError
at new e (dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:31534)
at dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:76738
at A (dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:39578)
at dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:39493
at new n (dist/polyfills.8b11d31048ab8f48.js:1:19099)
at Object.then (dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:39460)
at Object.next (dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:39588)
at Se (dist/core_app_shell_src_bootstrap_ts.07e790b4dacc88d1.js:1:169674)
at Oe (dist/core_app_shell_src_bootstrap_ts.07e790b4dacc88d1.js:1:170228)
at C.next (dist/core_app_shell_src_bootstrap_ts.07e790b4dacc88d1.js:1:170736)
at new e (dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:31534)
at dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:76738
at A (dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:39578)
at dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:39493
at new n (dist/polyfills.8b11d31048ab8f48.js:1:19099)
at Object.then (dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:39460)
at Object.next (dist/node_modules_apollo-angular_fesm2022_ngApollo_mjs-_63b60.6beb10d2ab674fd4.js:1:39588)
at Se (dist/core_app_shell_src_bootstrap_ts.07e790b4dacc88d1.js:1:169674)
at Oe (dist/core_app_shell_src_bootstrap_ts.07e790b4dacc88d1.js:1:170228)
at C.next (dist/core_app_shell_src_bootstrap_ts.07e790b4dacc88d1.js:1:170736)
at ve (dist/polyfills.8b11d31048ab8f48.js:1:16679)
at ve (dist/polyfills.8b11d31048ab8f48.js:1:16218)
at dist/polyfills.8b11d31048ab8f48.js:1:17522
at x.invokeTask (dist/polyfills.8b11d31048ab8f48.js:1:7831)
at Object.onInvokeTask (dist/node_modules_angular_core_fesm2022_core_mjs.3e1a513b7cb4915e.js:1:168446)
at x.invokeTask (dist/polyfills.8b11d31048ab8f48.js:1:7752)
at te.runTask (dist/polyfills.8b11d31048ab8f48.js:1:3175)
at j (dist/polyfills.8b11d31048ab8f48.js:1:9872)
at k.invokeTask [as invoke] (dist/polyfills.8b11d31048ab8f48.js:1:8915)
at N (dist/polyfills.8b11d31048ab8f48.js:1:21511)
The user and group name (in the above example www-data ) needs to be replaced by the actual system user and group that your webserver runs under. This varies depending on your operating system. Common web server users are as follows:
The PHP version I am using “PHP 8.2.12 (cli) (built: Oct 24 2023 21:15:15) (ZTS Visual C++ 2019 x64)”. I am running Version 8.7.0 via xampp.
I have checked the permission as I found this suggestion on the forum so that is already changed to Full Control. Already tried Quick Repair version too.