Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8023517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:35:06+00:00 2026-06-04T22:35:06+00:00

I have a similar problem to this issue: Merging 2 pdf with Zend Framework

  • 0

I have a similar problem to this issue: Merging 2 pdf with Zend Framework

I cannot merge to pdf’s together using the Zend framework.

The error message:

“Undefined property: Zend_Pdf_Element_Array::$value”

My code:

$pdf2show = new Zend_Pdf();
$ex = new Zend_Pdf_Resource_Extractor();
$pdf = Zend_Pdf::load('pdf1.pdf');
$pdf2show->pages[] = $ex->clonePage($pdf->pages[0]);
$pdf = Zend_Pdf::load('pdf2.pdf');
$pdf2show->pages[] = $ex->clonePage($pdf->pages[0]);

At this point, it doesn’t matter whether I try to save the file or render the file – both will result in the same error message.

$pdf2show->save(‘merged.pdf’);
//not a matter of permissions, I gave the folder 777 while testing.

or

echo $pdf2show->render();

When rendering, I use the following headers:

header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="merged.pdf"');

I get the error message when trying to either save or render.

I am currently using Zend framework version 1.11.4 and updating it to 1.11.11 makes no difference (I have tried).
I am using php 5.3.x
I have converted my PDF’s to version 1.6.

Any ideas? 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T22:35:08+00:00Added an answer on June 4, 2026 at 10:35 pm

    I was the same problem, I solved it by converting the pdf to the cloned version 1.0 with this program: http://www.freedownloadscenter.com/Multimedia_and_Graphics/Misc__Graphics_Tools/PDF_Version_Converter_Download.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a similar problem as @Mike in this question . The question is
I notice this thread: Fastish Python/Jython IPC , and I have a similar problem,
I have a cross-tab report which similar to this Problem is when there are
O.K. Maybe I have asked something similar to this, but this is another problem
Similar to this question: link However I have already mastered that. My problem is
I have a problem asked to me in an interview, this is a similar
I have similar problem to one discussed here , but with stronger practical usage.
I have a problem similar described on the silverstripe problem: [http://www.silverstripe.org/dataobjectmanager-module-forum/show/19853][1] I have a
I have a problem similar to the egg and the chicken. I have two
I suppose similar problem would have been discussed here, but I couldn't find it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.