BuddyDev

Search

Plugin to migrate galleries that did work now fails

  • Participant
    Level: Initiated
    Posts: 1
    Geoff Beale on #55320

    We wrote a wordpress plugin to read gallery data from a CSV file and create galleries which worked fine last May. This week we decided to have a trial of the whole migration process before going live next month. Unfortunately it now fails when creating a Gallery.

    Has something changed since last May which is causing this? We would be very grateful for any susggestions! Here’s our code to call mpp-create-gallery:

    ‘ $new_gallery_id = mpp_create_gallery ( array(
    ‘creator_id’ => $gb1Data[0],
    ‘title’ => $gb1Data[1],
    ‘description’ => $gb1Data[2],
    ‘slug’ => $slug,
    ‘status’ => ‘publish’,
    ‘order’ => false,
    ‘component’ => ‘members’,
    ‘component_id’ => $gb1Data[0],
    ‘type’ => ‘photo’,
    ) );

  • Keymaster
    (BuddyDev Team)
    Posts: 24932
    Brajesh Singh on #55323

    Hi Geoff,
    Welcome to BuddyDev support forums.

    I am sorry, I lack access to PC till tomorrow. I will look into it the day after tomorrow and get back to you.

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved