Magento – new orders are not showing in orders grid

magento2order-gridorderssales-order

I upgraded from Magento 2.5.0 to 2.3.1

I am using only PayPal as a payement method.

new orders are not showing in the orders grid in Admin > Sales > Orders

when I check PayPal summary I can find the invoice number so it is created in Magento but not showing in the grid

I already tried to change

Store > Configuration > Advance > Developer > Grid Settings

Enable / Disable, flush cache, reindex, but not working

Any fix please.

update:
When I check sales_invoice there is no recent invoice !!but in PayPal summary I have the invoice number and items !!

Best Answer

Clear var and generated folder and run cron

rm -rf var/*    
php bin/magento setup:upgrade
rm -rf var/*
rm -rf generated/*
php bin/magento c:c
php bin/magento cron:run
php bin/magento cron:run