Personal tools
You are here: Home Documentation Error References TypeError: get_field() takes exactly 2 arguments (3 given)
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

TypeError: get_field() takes exactly 2 arguments (3 given)

This Error Reference applies to: Any version.
This Error Reference is intended for: Any audience.

A common error when the API has changed.

It will look something like this:

 Error Type
  TypeError

 Error Value
  get_field() takes exactly 2 arguments (3 given)

If you get this error when trying to add a Plone site in your Zope, it means that you have a version mismatch somewhere - either running Plone 2.0 on CMF 1.5 or Plone 1 on CMF 1.4 or something else entirely.

Check all your package/product versions, and make sure it is a valid combination. The Plone Core tarball always ships with the correct dependencies, use that as reference if you are not certain which version combinations are valid.

by Alexander Limi last modified May 20, 2005 - 12:01 All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by