Any way to improve PHP warnings?

Hello everyone,
We are working hard to clean up our error logs (from NGINX and PHP).

The PHP logs currently have a ton of these warnings:
[18-Sep-2020 11:38:21 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/path/public_html/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 658

Is there a way for PHP to log the caller’s request so we can see from which domain it came from? A PHP configuration perhaps?

About 80 different websites could use that plugin, but we don’t know which one is generating those warnings.