Open ulises-salinas opened 4 years ago
File : tcpdi_parser.php Version. : 1.1 Line. : 1429 Method. : _getPageRotation()
private function _getPageRotation($obj) { // $obj = /Page $obj = $this->getObjectVal($obj); if (isset ($obj[1][1]['/Rotate'])) { $res = $this->getObjectVal($obj[1][1]['/Rotate']); if ($res[0] == PDF_TYPE_OBJECT) return $res[1]; return $res; } else { if (!isset ($obj[1][1]['/Parent'])) { return false; } else { $res = $this->_getPageRotation($obj[1][1]['/Parent']); // <<<<< ------- LINE 1429 if ($res && $res[0] == PDF_TYPE_OBJECT) return $res[1]; return $res; } } }
FIXED With:
if ($res && $res[0] == PDF_TYPE_OBJECT)
Hello, I am experiencing the same! However my code is from composer. What could you advice when vendor folder is not in project git? Thank you very much
FIXED With: