What am I doing wrong?

The forum for designers and developers.
[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
ebs
Posts: 19
Joined: 16. Feb 07, 18:22
[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

What am I doing wrong?

Postby ebs » 18. May 08, 22:28


User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[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

Re: What am I doing wrong?

Postby Service-Team » 19. May 08, 11:58

Hello Eric,

your code is corrent, however, the "onTrackChange" notification is not always the best place to open an dialog ... just use instead of alert() and everything should be just fine (to see the messages, open the console window at "Context menu > Tools".

Best regards,
Your Silverjuke-Team

ebs
Posts: 19
Joined: 16. Feb 07, 18:22
[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

Re: What am I doing wrong?

Postby ebs » 19. May 08, 14:02

Thanks for your reply!

I was using "alert()" just for testing. The final script sends the track information to another program and appears to work fine.

Regards,
Eric


[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

Return to “Developer Network”