Hello again,
I appreciate your response.
The first issue has been resolved. However, I’m still in the process of troubleshooting the second one. But after your reply, it appears that the problem doesn’t stem from your plugin, so I believe this ticket can be closed.
Thank you for your assistance!