"expected an array object"

Trying to delete one page of a PDF document, but get the message "expected an array object". How can I delete that page?


Ginna Behn


5 Answers

Voted Best Answer

It is shameful that people have been asking this same question for several years and Adobe still has not come forth with an answer.


By RobinDay Glenn   

The only thing I can think of is that the document is damaged in some way and it could be anything that is causing this problem. Only thing I can think of is to get a fresh copy of the file and try deleting again.


Michael Anderson   

I am trying to find the answer myself. I did realize that there was a certain brochure from a manufacturer that I quit using because it created "expected an array object" and would not let me then delete it. Now whenever I need to use that document in combination with others - I use a scanned version. To solve the problem in deleting that brochure, I ended up extracting pages(250 pgs) up to that place where that problem brochure was and resaved it with another name, but then I lost all of my bookmarks.


Alex Peterson   

I had the same issue on a form that I was working on. I had one button that would extract the first page - this.extractPages(0) - worked great.

Everytime I took the same code and placed in a second button and changed it to extract the last page - this.extractPages(1) I would get this error

I went in and deleted all tags that were in the document. Poof it worked. At least it fixed my issue

Adobe Pro XI


Linda Haworth   

Try this, works for me:

Right click the PDF file you want to amend, then choose "Combine supported files in Acrobat..." then click "Combine Files" then delete the page you want to delete. Done.

Again, this method works for me, hope it works for you too.

Cheers.


Khai Elizer   


Please specify a reason: