New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Plugin to migrate galleries that did work now fails

  • Participant
    Level: Initiated
    Posts: 15
    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: 25513
    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