HTTP Error 500, Unable to handle this Request

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.2
Virtualmin version 7.7

What could be the issue?

You may have an error in the index file please supply details about what software is installed

Isn’t it a Server error?

Solved the 500 error, it was PHP version error. I downgrade php version to 8.0 and error resolve but another error arises.

So downgrading PHP didn’t fix the problem!
This is a fault of a program (probably a plugin) that is in the code of your website.
It just shows that the code for the website has not been thoroughly tested. The plugin requirement for php (8.0) is out of date with the requirement of the current version of Composer (>= 8.1)

I tried to downgrade the composer on that specific server but here is the error.
Screenshot (57)

I don’t think it is Composer that needs downgrading (it requires the latest version of PHP (8.1) → so they have upgraded.

I think it is a plugin that is at fault the plugin has not been upgraded to work with the latest version of Composer. I would have expected Composer to have indicated that in your php log. (hopefully identifying the plugin) that will need to be raised with the supplier of the plugin (or replaced with a more up-to-date plugin.

Generally speaking, downgrading is not a good idea (of anything) upgrades often include critical bug fixes and security mods.

examining the composer.json file might give a clue as to the source of “package/plugin”. I’m not much help on Composer (or PHP for that matter) as I am so out-of-date myself.

if something in there is attempting a database access the that could be a way of producing the 500 error at the server.

Thanks @Stegan

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.