Jump to content
Mike Rockett

InputfieldDateTime in Process Module

Recommended Posts

[solved]

So I'm trying to add a date-time field to a form in my module, but I get the following fatal error:

Call to undefined method stdClass::setParent() in C:\usr\local\processwire\public_html\wire\core\InputfieldWrapper.php on line 166

No idea what's wrong there... Is there a specific way I'm supposed to be calling it?


Lol, nevermind - used InputfieldDateTime instead of InputfieldDatetime. I have learned my lesson.  ???  ;)

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...