Error: Call to undefined method Joomla\\CMS\\Document\\JsonDocument::addCustomTag()
I have 2 different websites that with problems after updates YOOtheme Pro 1.10.0 and/or 1.10.2. I have tested this thoroughly so I know both issues appear right after the update. I now rolled back to previous version (1.9.9) on one of the sites and both problems disappeared.
The issues are:
1) Can't connect to site in Watchful.li service.
2) OSMap Pro can't generate sitemap.xml
Valentin at Watchful suggested there might be a problem with the template. He says the error that is causing the issue is: Call to undefined method Joomla\CMS\Document\JsonDocument::addCustomTag()
I would be very grateful if you could look into this. I've left YOOtheme Pro latest version on one of the sites so you can see the issue (hopefully).
I'm giving you URLs and login in Hidden info.
Please let me know if you need any other information.
Just updated formfranska.com to 1.10.3 from 1.9.9 and it still can't connect in Watchful.li so the issue is still not solved with 1.10.3.
UPDATE 2017-11-17 Solved
Thank you @kayhan & @michael.maass
I've updated to 1.10.4 and inserted my custom code again an connection to Watchful is now working.