• Resolved seank123

    (@seank123)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @seank123

    I wouldn’t have any idea how to reproduce this. I run close to 100 client sites on which I use multisite for many installations and havent seen this behavior in any setup.

    Can you reproduce this on a clean installation if you revert back?

    Cheers, Jory

    Thread Starter seank123

    (@seank123)

    @keraweb Unfortunately I haven’t been able to reproduce it on any of the other sites I have! I tried a clean install too – but it also works perfectly!

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @seank123

    Thank you for your quick response.
    In that case I must believe that a different automated or manual issue happened on your website, unrelated to Pods or the Pods update.
    Updating Pods doesn’t change your current database data.

    Closing this issue as we and yourself cannot reproduce this behavior anymore.
    If you find a way to reproduce this, please let us know!

    Cheers, Jory

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Serious Issue!’ is closed to new replies.