PDF - Call to undefined method

When I hit the pdf button in form or details view a get the following error:

Error displaying the error page: Call to undefined method Joomla\CMS\Document\RawDocument::addFavicon(): Call to undefined method Joomla\CMS\Document\RawDocument::setName()

Fabrik library is installed. Somebody noticed tha same?
 
I can't replicate this with Helix 3.

The only way I can see that it would think this is a RawDocument rather than a PdfDocument is is our additional document types haven't been copied into the library folder.
The JDocument classes are now autoloaded, so our PdfDocument type should automatically get loaded in JDocument::getInstance(). It will only load RawDocument as the default if the format type specified doesn't exist in the library.

Can you check ./libraries/src/Document, and make sure that PdfDocument.php is there. If not, I'd suggest doing a full github update.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top