Press F12 to open your browsers developer console then attempt to install something and check the Network tab for the HTTP request to install something. From there you can review its response and see what is happening to the JSON data. An example of a working response is as follows.
URL: /index.php?option=com_comprofiler&view=editPlugin&action=installpkg&cid=56&fld=plugins&pkg=013_cbautoactionsbot_8.1.0%2Bbuild.2021.09.17.15.43.10.d1f5f09a0.zip&format=raw
Response:
Code:
{"status":"success","message":"This plugin allows CB Auto Actions to act on Joomla events by routing Joomla events to Community Builder events. All Joomla events are prefixed with joomla_ (e.g. joomla_onContentPrepare). Note all this plugin does is ensure CB Auto Actions has been loaded on every page to allow for event binding."}
Notice the response is valid JSON. If there's something before { or after } then something on your site is echoing data and breaking the response.
They should still be installing though since this is the final step of the process and is just the response message. Try downloading something that's failing manually from our downloads page below.
www.joomlapolis.com/downloads
Next unzip it and find whatever you're trying to install in /extensions folder and its various subfolders then try installing that manually to see if any errors output. Something is directly failing on your site is why the installer is failing. This usually means some sort of top level error is breaking things.
The usual culprit is a 3rd party system plugin loading on every page and causing issues.