While working around with integrating my PHP code into OJS as a plugin I have found that for most of my articles (but not all) calling PublishedArticle from a plugin returns null (on article detail page). Don’t know an importance of it, but decided to open a new topic. In several articles PublishedArticles object returns array only in one locale and in other is null. Where this object is null recommendByAuthor plugin is not working. What is a reason of it?
Strange, when using Templates::Article::Main hook all seems to be OK, but with Templates::Article::Footer::PageFooter hook is not. Maybe it should work so. Nevertheless worked it through.