Hi @zodiacfive
It sounds like you might be experiencing a plugin conflict on your site.Is it possible that you have a posts searching plugin that could be interfering with the get_posts() function?
Please deactivate all other installed plugins and check whether the issue will still be reproduced.