Title: Types Post Fields throwing twig error
Last modified: September 1, 2016

---

# Types Post Fields throwing twig error

 *  [Nora McDougall](https://wordpress.org/support/users/nora-mcdougall/)
 * (@nora-mcdougall)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/types-post-fields-throwing-twig-error/)
 * I have been working with a client to set up Post Fields. The plugin is throwing
   this error. I have installed Types on several other sites and not seen this error.
 * Warning: array_intersect_key() [function.array-intersect-key]: Argument #2 is
   not an array in […]/wp-content/plugins/types/library/twig/twig/lib/Twig/Environment.
   php(403) : eval()’d code on line 81
 * The site is on a web host that only has PHP 5.x available. I don’t know if that
   is relevant to the problem.
 * I would appreciate any clues.
 * [https://wordpress.org/plugins/types/](https://wordpress.org/plugins/types/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/types-post-fields-throwing-twig-error/#post-7538901)
 * Types will work on any PHP Version that WordPress works as well:
    [https://wp-types.com/toolset-requirements/](https://wp-types.com/toolset-requirements/)
 * 1. Does the issue also persist with a WordPress Default Theme and NO Plugins 
   BUT the Toolset Plugins?
 * If not, could you then re-enable the Plugins one after the other, and check the
   issue each time you enable a plugin?
    Please report me when the issue comes back
   It might also be due to the Theme. Please do reactivate your Theme only after
   you are sure the issue isn’t coming form a 3rd Party Plugin.
 * 2. Does it also persist when you download and install the latest Types version
   manually?
 *  Thread Starter [Nora McDougall](https://wordpress.org/support/users/nora-mcdougall/)
 * (@nora-mcdougall)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/types-post-fields-throwing-twig-error/#post-7538913)
 * Thanks for the reply! I will need to work with my client on this. They are not
   available until this coming Friday, I will let you know of our results!
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/types-post-fields-throwing-twig-error/#post-7538946)
 * OK; please post here once you know more.
 *  Thread Starter [Nora McDougall](https://wordpress.org/support/users/nora-mcdougall/)
 * (@nora-mcdougall)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/types-post-fields-throwing-twig-error/#post-7539024)
 * The site is still throwing the error after the following:
 * 1. We deactivated all the plugins except Types – of course we turned them back
   on after the test
 * 2. The site is built with a child theme based on Twenty Fifteen, so that shouldn’t
   be a problem. Twenty-Fifteen is updated.
 * 3. We updated the core from WordPress 4.4 to WordPress 4.5.3
 * 4. All plugins are up-to-date
 * 5. We re-saved the defaults on the Custom Post Types Options
 * Please tell us where to go from here!
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/types-post-fields-throwing-twig-error/#post-7539028)
 * To our [Free Types Forum](https://wp-types.com/forums/forum/general-and-pre-sales-questions/).
 * First, you will register for free [here</a.](https://wp-types.com/support/register/)
 * Then you will open a Support Request and we will ask for Access Details.
    Please
   mention this Thread in the Support Request you are going to open.
 *  [alevy5588](https://wordpress.org/support/users/alevy5588/)
 * (@alevy5588)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/types-post-fields-throwing-twig-error/#post-7539035)
 * Apologies please disregard this comment.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Types Post Fields throwing twig error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [alevy5588](https://wordpress.org/support/users/alevy5588/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/types-post-fields-throwing-twig-error/#post-7539035)
 * Status: not resolved