Serious Issue!
-
I have a site with Pods doing the following:
Settings Page – called ‘company_information’
Post Type – ‘location’
Post Type – ‘staff_member’I have a number of pages set with php and Pods shortcuts with code like:
$pageid = get_the_ID(); $staff_social = pods('staff_member', get_the_id()); $staff_facebook = $staff_social->field('profile_facebook'); $location_facebook = $staff_social->field( 'location.location_facebook' ); $staff_instagram = $staff_social->field( 'profile_instagram' );
Or:
[pods name="company_information"]<div id="company-logo">{@company_logo._img}</div>[/pods]
This has been working fine for a few months now.
However I just updated to the lasted version and the site stopped working! I found that the Pods names had all changed to:
Settings Page – ‘company’
Post Type – ‘locations’
Post Type – ‘staff-members’All of the field names with underscores had changed to hyphens – so the code had to be changed to, for example:
$staff_facebook = $staff_social->field('profile-facebook');
Have you any idea what could have caused this?
It happened to two sites that are in a multisite network.
Thanks
- The topic ‘Serious Issue!’ is closed to new replies.