• 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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anonymous User 14808221

    (@anonymized-14808221)

    Types will work on any PHP Version that WordPress works as well:
    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

    (@nora-mcdougall)

    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)

    OK; please post here once you know more.

    Thread Starter Nora McDougall

    (@nora-mcdougall)

    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)

    To our Free Types Forum.

    First, you will register for free here</a.

    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.

    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.