I have a custom format on a website (format=csv).
The plugin checks the docType and returns against a fixed set of possible formats. However formats are not limited to these.
Possible solutions return on docType != 'html', do a method_exists or check $document against class name.
system/phocaopengraph call to undefined method document\rawdocument::addcustomtag()
-
- Phoca Newbie
- Posts: 1
- Joined: 10 May 2023, 17:34
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: system/phocaopengraph call to undefined method document\rawdocument::addcustomtag()
Hi, can you paste whole error message (including the file and line). so I can take a look at it. Yes, I can add another protection to ignore this plugin in format csv.
Jan
Jan
If you find Phoca extensions useful, please support the project