Wikimedia Developer Support

Datetimepicker throwing error on Page Form

I’m trying to build a page form using the datetimepicker input type, and it keeps throwing this error:

Warning : count(): Parameter must be an array or an object that implements Countable in /home/dh_29mx69/jaxplays.com/extensions/PageForms/includes/forminputs/PF_DateTimePicker.php on line 37

Here’s where you can see it throwing the error:
https://jaxplays.com/wiki/Special:FormEdit/Play/Test_Page

And here’s the form:
https://jaxplays.com/wiki/Form:Play?veaction=editsource

What am I doing wrong?