Using OverlayGetNumPages() in Persuasion 5.6.0
I am trying to attach PDF pages in StoryTeller and this line is failing in 5.6.0 (but works in 5.6.2): $pages = overlayGetNumPages($thisAttachment). In 5.6.2 $pages is 4, which is correct. In 5.6.0 (the value of $thisAttachment is the same and it is the same PDF) the value returned is '0', which I assume means it has failed. Is it possible in 5.6.0 to load PDF pages in this way?