Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Philipp

"instanceof ACA_ACF_Column" causes Error

from the examples here:

ac/column/value

i’m trying to filter a column value that is a advanced custom field (ACF) field. When using the code from the example pages i get a 500 error.
I have looked through all the code and there is no “ACA_ACF_Column ” class. has this been updated/deprecated?

what would the new syntax be?>

4 years, 1 month ago
Stefan
Developer

Hi Philipp,

The snippet you use only works when you have the ACF integration add-on installed.
But I believe the instanceof check for the class should return false instead of giving you a 500 error. If I’m wrong, it would be better to also check if the class exists before we do the instanceof check, but it probably won’t fix your problem.

Do you get more information about the 500 error you’re getting? Can you send me the info at support@admincolumns.com so I can have a look?

Anyway, this filter will not work when you don’t have the ACF integration add-on for Admin Column installed so you should check this first.

4 years, 1 month ago

You must be logged in to reply to this topic.