• Resolved Mario Stanic

    (@marionemam)


    When I try to use the Facebook Gallery I get the message

    “Notice: Undefined variable: albumids_exclude in /public_html/wp-content/plugins/srizon-facebook-album/srizon-fb-gallery-front.php on line 189 Notice: Undefined property: stdClass::$data in /public_html/wp-content/plugins/srizon-facebook-album/srizon-fb-gallery-front.php on line 212“

    Can somebody help me whit this issue, I have only installed the plugin no changes have been made.

    https://wordpress.org/plugins/srizon-facebook-album/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author afzal_du

    (@afzal_du)

    Hi,
    Notices are not supposed to be enabled on production environment. For some reason the first notice didn’t appear on my development environment so I didn’t notice that.
    Actually that’s a line from the ‘pro version’ I forgot to remove. That line does nothing in the free version
    so you can remove this line
    file: srizon-fb-gallery-front.php
    line 189: $albumids_arr = srz_fb_extract_ids($albumids_exclude);

    The second notice means that the script didn’t get any data from facebook.
    probable reason for that
    1. your server configuration restricts remote connection
    or
    2. the pageid you used is not valid or it’s not a pageid but a ‘profile id’ or the page has some restriction

    If you let me know the pageid I can check if it’s valid

    Thread Starter Mario Stanic

    (@marionemam)

    Hi,

    Thanks for the feedback, if this plugin does what I hope it does I will definitely buy the pro version.

    About the data that is not loaded from Facebook, here are the pages;
    Website: http://www.hkznl.nl/galerija/
    Facebook: https://www.facebook.com/pages/Kroatische-Katholieke-Parochie/1396507487295265?sk=photos_stream&tab=photos_albums

    Thanks in advance.

    Thread Starter Mario Stanic

    (@marionemam)

    P.S. The Facebook only has a profile picture nothing else

    Plugin Author afzal_du

    (@afzal_du)

    hi you inserted [srizonfbalbum id=1] as page id. It’s shortcode not page id.
    shortcode should be inserted into page/post

    pageid for your page is
    1396507487295265

    edit the album and set it right

    Thread Starter Mario Stanic

    (@marionemam)

    Thanks a lot it worked.
    I do have one other question, is there also an auto synchronization whit Facebook or do I need to do this manual?

    Plugin Author afzal_du

    (@afzal_du)

    auto.
    you just need to set the interval (default is 600 minutes = 10 hours)

    Thread Starter Mario Stanic

    (@marionemam)

    Where can I translate the “[Back to Gallery]” to multilingual with WPML plugin (is that possible because I cannot find it in string translations)?
    And what is the address to buy the pro version

    Thread Starter Mario Stanic

    (@marionemam)

    I have changed the text from “[Back to Gallery]” to a icon. leave this question out.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Notice: Undefined variable’ is closed to new replies.