FPDF/FPDI Error: Fatal error: Class 'setasign\\Fpdi\\FpdfTpl' not found in
I am attempting to watermark an existing PDF document, and this error has been tripping me up for the past two days... I have the FPDI library in fpdi/src/, and the fpdf library in /fpdf/ The file throwing the error is Fpdi.php (line 27). Here are the first 30 lines: <?php /** * This file is part of FPDI * * @package setasign\Fpdi * @copyright Copyright (c) 2017 Setasign - Jan Slabon (https://www.setasign.com) * @license http://opensource.org/licenses/mit-license The MIT License * @version 2.0.0 */ namespace setasign\Fpdi; use setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException; use