system/phocaopengraph call to undefined method document\rawdocument::addcustomtag()

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
brbrbr
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 10 May 2023, 17:34

system/phocaopengraph call to undefined method document\rawdocument::addcustomtag()

Post by brbrbr »

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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: system/phocaopengraph call to undefined method document\rawdocument::addcustomtag()

Post by Jan »

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
If you find Phoca extensions useful, please support the project
Post Reply