The issue is not from Yoast, it’s something that gets its way into your WordPress content files.
My site reported a critical issue this morning. During the investigation, I found the said files in the wp-content, well, nobody knows where those files came from.
This is the error message captured:
[04-Jun-2020 07:02:16 UTC] PHP Parse error: syntax error, unexpected end of file in /aaa/xxx/mm_html/yyyfolder/wp-content/plugins/helad.php on line 140.
So, I checked the said location and found two unusual files; admin_ips.txt and helad.php
Deleting those two files resolved the issue.
Question is, are those two files legit?