Skip Navigation

[Resolved] Fatal error: Uncaught InvalidArgumentException: First argument is not a post.

This thread is resolved. Here is a description of the problem and solution.

Problem:
When saving field groups you see an error:

Fatal error: Uncaught InvalidArgumentException in .../types/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition/type.php on line 28
–( ! ) InvalidArgumentException: in .../types/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition/type.php on line 28

Solution:
Update to the latest Toolset

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 15 replies, has 3 voices.

Last updated by jacka-4 6 years, 3 months ago.

Assisted by: Beda.

Author
Posts
#1200684

I also tried de-activating the custom field set that is left... to no effect.

#1200690

Quick update.... was able to get it working by clearing the NGINX cache **AND** restarting all PHP-FPM instances. Hmmmm....