I installed magento2 2.2.10 version and installed custom modules. At begining it works finely after adding products , customers and place an order then it's not loading any admin grids(customers , sales , theme configuration , etc).
This ajax call giving an error as below
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 2648 of the JSON data
Then i removed all my custom modules and run the following commands
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
But no success to get the grid working again. How can i debug what will be the error in this case? Which module causing error?
I removed all var/report
logs and refresh the page in admin but there is no error logs at all.
In my index.php file i placed below code as well. No error coming.
ini_set('error_reporting', E_ERROR);
register_shutdown_function("fatal_handler");
function fatal_handler() {
$error = error_get_last();
echo("<pre>");
print_r($error);
}
In google when i searched got suggestion as ui_bookmark table needs to be cleared . I did that as well its still not loading any customers , pages , blocks , orders etc. Please help me on this..
I tried a fresh install and it has no issues... After added my custom modules got issue but i removed them all still issue is there. How can i trace it?