Save the PDF as a Postscript [.ps] file USING A DIFFERENT FILENAME.
Open this .ps file with Acrobat Distiller, which automatically creates a (new) PDF (.pdf) with the new name.
The problem you may have is if you can't save the file to a Postscript [.ps] file and you don't have Acrobat Distiller to open the ps file to create the new PDF.
Really, Adobe should fix this problem . . . which maybe they have in the subscription-based Acrobat -- I'm still using an old standalone Adobe Acrobat Pro on a Mac.
Note: My original PDF had no security options set. It did, however, have fillable fields, which were maintained WITH MY FILLED IN VALUES after the above process!
I did a Google search on just "A number is out of range", and found the following solution at https://helpx.adobe.com/acrobat/kb/a-number-is-out-of-range-error-viewing-pdf-deleting-pages.html .
Save the PDF as a Postscript [.ps] file USING A DIFFERENT FILENAME.
Open this .ps file with Acrobat Distiller, which automatically creates a (new) PDF (.pdf) with the new name.
The problem you may have is if you can't save the file to a Postscript [.ps] file and you don't have Acrobat Distiller to open the ps file to create the new PDF.
Really, Adobe should fix this problem . . . which maybe they have in the subscription-based Acrobat -- I'm still using an old standalone Adobe Acrobat Pro on a Mac.
Note: My original PDF had no security options set. It did, however, have fillable fields, which were maintained WITH MY FILLED IN VALUES after the above process!