Error with "GetHeading" function

Ringo setup, hardware, basic programming. User to user support.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
abe
Posts: 3
Joined: Wed Dec 23, 2015 8:58 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Error with "GetHeading" function

Postby abe » Wed Dec 30, 2015 3:25 pm

Hello,

For those like me who are having trouble with the "GetHeading" function (mentioned in the "Using Ringo's Navigation" chapter of the guide); I have found a solution in this forum post:


As described, the correct function name is "PresentHeading()" and not "GetHeading()".

Apparently the search feature is not finding this occurrence so I decided to create a new post hoping that it will be easier to find.

The guide seems to be written using Adobe's InDesign and unfortunately I don't have this software otherwise I would submit a fix request directly on GitHub.

Thanks,
Abe

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 3 guests