500 Internal Server Error When Accessing Relationships in Studio for All Modules

Hi

I’m encountering a 500 Internal Server Error when trying to access the Relationships section in Studio for any module (e.g., Accounts, Contacts, Leads, etc.).

From the browser console, the error looks like this:

POST http://localhost/project01/index.php?to_pdf=1&sugar_body_only=1&get_tpl=true&module=ModuleBuilder&action=relationships&view_module=Accounts 500 (Internal Server Error)

What I’ve tried so far:

  • Performed Quick Repair and Rebuild
  • Cleared the cache/ folder
  • Verified file and folder permissions
  • Looked in suitecrm.log and Apache/PHP error logs (but couldn’t find anything obvious)

This error appears regardless of which module I select in Studio. Has anyone else faced this issue or know how I can debug/fix it?

Any help would be appreciated.

Thanks

Make sure you have correct file permissions. Did you install it recently?

Have you wrote any custom code?

It’s working now, thanks for the help.

1 Like

What did you do and it started working?

There was a problem with one of my functions, it had the same name as a function in another module. I’m not sure how that was causing the issue, but after renaming it in one module, it worked.