Virtual Fields “No Collection” error
-
Hey all,
Working on a project for a client who is using the Team Showcase WordPress plugin to display mentors’ details on their site. They are wanting to have mentors’ info on their site automatically update when it is adjusted in Airtable, so naturally I setup the Airpress plugin to do so.
The problem is that the Airpress shortcode is working in some places and not in others, and I am receiving an “ATTEMPTING TO BE USED ON A PAGE WHERE THERE IS NO COLLECTION” error.
Mentors’ titles should be generated using:
[apr field="Title for Webpage"] @ [apr field="Firm]
(ex. Founder @ Cool Company)Mentor ROCHELLE WEBB is my current test example.
On Rochelle’s individual team page, the title shows up fine. The code successfully pulls her title / firm from Airtable: “President & CSO @ The Dialectic Compound.” (Ignore the horrendously large image on this page.)
https://makeinla.com/team/rochelle-webb/
BUT…Each mentor’s Team Showcase page is also used to generate the Mentor Grid at the link below.
I get that “ATTEMPTING TO BE USED ON A PAGE WHERE THERE IS NO COLLECTION” error for the same details on this page. (Look for ROCHELLE WEBB again.)
Screenshot of Rochelle: https://imgur.com/Lg6uWnO
How can I fix this error? Stumped as to why it’s working in one spot and not another. I’m quite experienced with Airtable, but I’m a WordPress novice, so I’m hoping this is an easy “duh!” fix.
I’ve double-checked the following:
– Virtual Fields is setup correctly using tshowcase post type and post_title
– Name on WordPress Title and Airtable Column are exactly the same
– I’ve refreshed the cache (/?fresh=true).
– I’ve double checked the Connection and Configuration.I’m wondering if I need to setup a second Virtual Fields configuration for the /mentors grid page? Just not sure what configuration I would use for this one.
Many thanks!
The page I need help with: [log in to see the link]
- The topic ‘Virtual Fields “No Collection” error’ is closed to new replies.