Make a quick vote 🗳 ️How do you refer to SuiteCRM extensions: add-ons or plug-ins? Click here to have your say 👈

Suitecrm8: Error occurred while fetching metadata

The installation is complete, but the login error is reported,Who can help me?

1 Like

Hi @shifang,

Welcome to the community and thanks for trying out SuiteCRM 8.

To be able to help we need a bit more info, could you do the following please?:

  • On .env.local file change the env from prod to qa
  • The open the network tab on the browser devtools .
  • Then reload the page.
  • Check the graphql calls. One of those should have an error on the response.

Could you send that information please?

Thank you for your help.

  • On .env.local file only:DATABASE_URL="mysql://********** "
  • On .env file change the “APP_ENV=qa” from prod to qa
    I don’t know if I’m doing it right .
  • The error message is:

Hi @shifang,

Thank you for the input.

Its ok to set it on .env, it contains the defaults

The tab you are showing is the console tab should be a network tab with several requests. One of those requests should contain an error entry on the response. Could you try to find that and send it please?

Hi @noclip,

Welcome to the community :wave: and thanks for trying out SuiteCRM 8 RC.

Apologies for the delay in replying.

As a quick try, could you try re-setting permissions and ownership please? I’ve seen similar issues when the user and group are different.

But also to help debug the issue, could you got to the .env file and change the APP_ENV=dev to APP_ENV=qa.


  • refresh the browser
  • open the network tab and clear it
  • re-do the steps to replicate the issue
  • go to the network tab and search on the graphql calls for the one that has an errors entry on the response.

Another thing you can also check is: logs/prod/prod.log

1 Like

I face the same problem with cyberpanel (openlitespeed) host.

Hi @peterjason,

Welcome to the community! :wave: and thanks for trying out SuiteCRM 8.

Could you try the steps on the post above, please?

  • checking permissions
  • then checking the logs and also the network tab

im getting the same error after upgrading to 8.1.0 from 8.0.1

I checked browser network and get:

{type: "", title: "An error occurred",…}
detail: "Format \"php\" is not supported"
title: "An error occurred"
type: ""

Can you please confirm your PHP versions?

1 Like

PHP 8.0.17 (cli) (built: Apr 4 2022 20:18:00) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.17, Copyright (c) Zend Technologies
with Zend OPcache v8.0.17, Copyright (c), by Zend Technologies

This happened to me with PHP8.1 configured on the hosting. I changed to php8.0 and admin works again.


I guess that is to be expected… PHP 8.1 is not supported yet: