Support » Plugin: WP Photo Album Plus » Multiple Listings for 1 Album

  • Resolved kepenner

    (@kepenner)


    Hi,
    We have over 500 albums on our website (flinflonheritageproject.com). When we go to album admin, (collapsible or flat table) we find that the same ‘parent’ album is found on several different pages. When we check the ‘children’ underneath it, different children are listed depending on which page (there are 6 pages of albums listed) we look at. It would be very helpful if
    a) the parent album were listed only once in the album admin area and
    b) that the same children are listed in both sections.

    In our case in particular album 17 (parent) has albums 56, 57, 58, 59, 61, 63, 66, 78 and 116) listed as children on page 1. When I flip to page 5 (where album 17 appears again as a parent), it has album 524,631, 702 and 704 listed and children.

    Any help or updates in this area would be greatly appreaciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The point is that the max pagesize defines the max number of items on a page. If there are more children of a certain album, the successive children are on the next page, but i can only display them under the parent, so the parent is there again.

    Solution: Increase the pagesize in Tabe IX-B6.1.

    Currently the max is 200, i will extend this with options 500, 700 and 1000 in the next version (6.9.16), available at the end of the week.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Version 6.9.16 is now available

    Thanks for update..

    I did the update and this warning comes out on my homepage.

    Warning: unserialize() expects exactly 1 parameter, 2 given in /home/melendiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-wrappers.php on line 140

    wppa-wrappers.php

    lines:
    133 // In case of error or dangerous data, returns an empty array
    134 function wppa_unserialize( $xstring, $is_session = false ) {
    135
    136 if ( $is_session && get_option( ‘wppa_use_scabn’ ) == ‘yes’ ) {
    137 return unserialize( $xstring, array( ‘allowed_classes’ => array( 8 ‘wfCart’ ) ) );
    138 }
    139 else {
    140 return unserialize( $xstring, array( ‘allowed_classes’ => false ) 141 );
    142 }
    143 }

    What is solution? Thanks..

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    If you can, upadet your php version to 7.0 or later.
    You may temporary bypass this security fix by editing the file and place:
    return unserialize( $xstring );
    right below:
    function wppa_unserialize( $xstring, $is_session = false ) {

    I update to php 7.1, problem solved. Thanks 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multiple Listings for 1 Album’ is closed to new replies.