OK. So I'm writing an extension to a class called ezPdf (which is in itself an extension to a class called "pdf").Fatal error: Cannot access private property exclusionPDF::$pdfparts in /path/to/class.pdf.php on line 3053
For some reason I'm getting the above error. I havent touched the original class, I'm simply inheriting from it. Yes I do have a private property called "pdfparts" in my extnesion but why on earth would the parent class be trying to access it?
I can't suss this out. Here's the extension (queries obscured...):
CODE REMOVED FOR LEGAL REASONS
I've been looking for a while and I've probably missed something obvious with the $pdfparts property but I can't see it
Lines 3050 to 3060 of the parent of the parent (two generations up).
Code: Select all
$tmp = $this->checkpoint;
foreach ($tmp as $k=>$v){
if ($k != 'checkpoint'){
$this->$k=$v; // LINE 3053!!!!
}
}
unset($tmp);
}
break;
case 'abort':
if (is_array($this->checkpoint)){