At first, I thought it's because of my JPEGs files so I've adjusted the size, color mode of all JPEGs to make sure it's correct, then I've tried to Automate the PDF Presentation again and it works!
Unfortunately, somehow it doubles 1 of my JPEG into the PDF file, hence creating 1 more extra page. I've tried to re-Automate the PDF again but it shows the same error as before. I also have tried to reinstall Photoshop, restart my laptop but it doesn't work. This error only appears after I update to Photoshop 2022. By the way, Photoshop lately has sooooo many problems that trouble me a lot, please look at this error as soon as possible.