Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • johnnovakphotography

    (@johnnovakphotography)

    I’m getting the same problem after the upgrade. When I go to the EntryWizard Rating Form Management page in the WordPress backend none of my rating forms are visible and I can’t create any new ones. My Rating Schemes are still there and everything else seems to be OK it’s just that all of my Rating Forms are missing.

    If I try to edit the WordPress page that contains the link to one of my rating forms I get a critical error and get an email from WordPress with the following in it:

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.6.2
    Active theme: Twenty Eleven (version 4.7)
    Current plugin: EWZ-Rating (version 1.1.26)
    PHP version 7.4.33 Error Details

    An error of type E_ERROR was caused in line 520 of the file /home/brantcam/public_html/bcc-wp/wp-content/plugins/ewz-rating/classes/ewz-rating-form.php. Error message: Uncaught EWZ_Exception: *** EntryWizard ERROR *** Unable to find matching rating_form for id in /home/brantcam/public_html/bcc-wp/wp-content/plugins/ewz-rating/classes/ewz-rating-form.php:520
    Stack trace: 0 /home/brantcam/public_html/bcc-wp/wp-content/plugins/ewz-rating/classes/ewz-rating-form.php(488): Ewz_Rating_Form->create_from_id(1) 1 /home/brantcam/public_html/bcc-wp/wp-content/plugins/ewz-rating/classes/ewz-rating-form.php(169): Ewz_Rating_Form->__construct(1) 2 /home/brantcam/public_html/bcc-wp/wp-content/plugins/ewz-rating/ewz-rating.php(218): Ewz_Rating_Form::get_all_rating_forms(‘can_see_rating_…’) 3 /home/brantcam/public_html/bcc-wp/wp-includes/class-wp-hook.php(324): ewz_admin_r_head(”) 4 /home/brantcam/public_html/bcc-wp/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 5 /home/brantcam/public_html/bcc-wp/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 6 /home/brantcam/public_html/bcc-wp/wp-admin/admin-header.php(156): do_action(‘admin_head-post…’) 7 /ho

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    I think I have resolved the issue. it looks like wordpress automatically converted their WP User Avatar plugin to ProfilePress which appears to conflict with Ultimate Member. I removed the ProfilePress plugin and the problem seems to have gone away.

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Jacob,

    Just wanted to publicly thank you for the excellent service you provided on this issue.

    Your latest version that you sent me completely solves the problem.

    Again thanks for your help and I can highly recommend your plugin.

    john

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Jacob,

    I also went to one of the users whose gallery is displaying and got similar items in the log file:

    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 19 does not exist (cache album)
    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 18 does not exist (cache album)
    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 16 does not exist (cache album)
    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 15 does not exist (cache album)
    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 14 does not exist (cache album)
    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 13 does not exist (cache album)
    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 12 does not exist (cache album)
    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 11 does not exist (cache album)
    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 8 does not exist (cache album)
    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 7 does not exist (cache album)
    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 4 does not exist (cache album)
    url: /user/alex+smith/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:25:59: OCC-admin-42: Album 1 does not exist (cache album)

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Jacob,

    When I went to the profile page of another user with a zero in their gallery id I see this in the log file:

    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 19 does not exist (cache album)
    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 18 does not exist (cache album)
    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 16 does not exist (cache album)
    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 15 does not exist (cache album)
    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 14 does not exist (cache album)
    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 13 does not exist (cache album)
    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 12 does not exist (cache album)
    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 11 does not exist (cache album)
    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 8 does not exist (cache album)
    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 7 does not exist (cache album)
    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 4 does not exist (cache album)
    url: /user/paul+roberts/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:15:03: OCC-admin-42: Album 1 does not exist (cache album)

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Downloaded it and installed on a development copy of my site and no change.
    All of the albums with a zero in their gallery/album id do not show the gallery contents on the users Ultimate Member profile page and also do appear in the “Upload to gallery” dropdown list on the “Upload Photo’s” when logged in to the front-end as an administrator.

    Here is the contents of the log file:

    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 19 does not exist (cache album)
    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 18 does not exist (cache album)
    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 16 does not exist (cache album)
    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 15 does not exist (cache album)
    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 14 does not exist (cache album)
    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 13 does not exist (cache album)
    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 12 does not exist (cache album)
    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 11 does not exist (cache album)
    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 8 does not exist (cache album)
    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 7 does not exist (cache album)
    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 4 does not exist (cache album)
    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:7 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:10.02.2021 10:06:39: OCC-admin-42: Album 1 does not exist (cache album)
    Obs: on:10.02.2021 10:03:44: OCC-admin-42: DB UPDATED

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Jacob,

    I have a workaround in place.

    I found the $albumname album specification in your documentation. Since all our members login name and Gallery/Album name are the same I have changed

    [wppa type=”content” album=”#owner,username”]

    to

    [wppa type=”content” album=”$username”]

    This has made all of the galleries visible on their profile pages.

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Jacob,

    Would the following PHP code work to get the album id?

    $owner = ‘Bruce Hartley’;

    $query = sprintf(“SELECT id FROM wp0e_wppa_albums WHERE owner =’%s'”, mysql_real_escape_string($owner));

    $result = mysql_query($query);

    if (!$result) {
    $message = ‘Invalid query: ‘ . mysql_error() . “\n”;
    $message .= ‘Whole query: ‘ . $query;
    echo $$message;
    } else {
    while ($row = mysql_fetch_assoc($result)) {
    $album_id = $row[‘id’];
    $cmd = ‘[wppa type=”content” album=”‘;
    $cmd = $cmd . $album_id;
    $cmd = $cmd . ‘”]’;
    echo do_shortcode($cmd);
    }
    }

    mysql_free_result($result);

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    The missing # was a typo in my message – edited it a few minutes ago. The # is in the actual code.

    I could try using the album ids in the shortcode but I don’t know how to get it. I was using login names as I could get that both from the Ultimate Member directory list for non-logged in users and from the Ultimate Member profile for logged in users.

    Here is the content of wppa_child_list:

    a:67:{i:-1;s:145:”-1.40.46.56.61.63..65.68.70.72.74.76.78.80.82.85..87.100..103.108..110.112..119.121.124.127..129.131..133.135.143..145.147..150.152..153.155..160″;i:0;s:12:”136..142.154″;i:40;s:2:”40″;i:46;s:2:”46″;i:56;s:2:”56″;i:61;s:2:”61″;i:63;s:6:”63..64″;i:64;s:2:”64″;i:65;s:2:”65″;i:68;s:2:”68″;i:70;s:2:”70″;i:72;s:2:”72″;i:74;s:2:”74″;i:76;s:2:”76″;i:78;s:2:”78″;i:80;s:2:”80″;i:82;s:2:”82″;i:85;s:2:”85″;i:86;s:2:”86″;i:87;s:2:”87″;i:100;s:3:”100″;i:101;s:3:”101″;i:102;s:3:”102″;i:103;s:3:”103″;i:108;s:3:”108″;i:109;s:3:”109″;i:110;s:3:”110″;i:112;s:3:”112″;i:113;s:3:”113″;i:114;s:3:”114″;i:115;s:3:”115″;i:116;s:3:”116″;i:117;s:3:”117″;i:118;s:3:”118″;i:119;s:3:”119″;i:121;s:3:”121″;i:124;s:3:”124″;i:127;s:3:”127″;i:128;s:3:”128″;i:129;s:3:”129″;i:131;s:3:”131″;i:132;s:3:”132″;i:133;s:3:”133″;i:135;s:3:”135″;i:136;s:8:”136..142″;i:137;s:3:”137″;i:138;s:3:”138″;i:139;s:3:”139″;i:140;s:3:”140″;i:141;s:3:”141″;i:142;s:3:”142″;i:143;s:3:”143″;i:144;s:3:”144″;i:145;s:3:”145″;i:147;s:3:”147″;i:148;s:3:”148″;i:149;s:3:”149″;i:150;s:3:”150″;i:152;s:3:”152″;i:153;s:3:”153″;i:154;s:3:”154″;i:155;s:3:”155″;i:156;s:3:”156″;i:157;s:3:”157″;i:158;s:3:”158″;i:159;s:3:”159″;i:160;s:3:”160″;}

    john

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Jacob,

    I added a [wppa type=”content” album=”#owner,Planet Earth”] to the post below the [wppa type=”content” album=”140″] shortcode and the one for #owner did not show anything.

    john

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Jacob,

    Here is another tidbit:

    I am displaying Gallery Id 140 in a post using a shortcode [wppa type=”content” album=”140″] and the gallery display works.

    So I tried one of the galleries I had problems with that way on the post. So I added Bruce Hartley’s gallery as [wppa type=”content” album=”100″] to the post and it worked.

    Then I added a shortcode to Bruce’s gallery using the owner name as [wppa type=”content” album=”#owner,Bruce Hartley”]

    The post now has all three shortcodes. The shortcodes that used album=”140″ and album=”100″ both worked and the one with album=”#owner, Bruce Hartley” did not even though Bruce’s gallery is gallery id 100.

    Here is a link to the post: https://oxfordcreativeconnections.ca/2021/01/04/planet-earth-juried-art-show/

    john

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Jacob,

    I see that line toward the bottom of the log files but I see a lot of messages like the one below. Plus the album for bruce hartley is one of the users where the gallery on his profile page doesn’t show any images even though there are 23 in his gallery. Also, Bruc’s gallery is the 19th in the list on the Gallery Admin page with a Gallery Id of 100

    url: /user/bruce+hartley/
    wppa-items.php:822 wppa_cache_album() <- wppa-functions.php:659 wppa_get_album_item() <- wppa-filter.php:535 wppa_albums() <- shortcodes.php:343 wppa_shortcodes() <- do_shortcode_tag() <- shortcodes.php:218 preg_replace_callback() <- shortcode-handler.php(65) : eval()’d code:14 do_shortcode() <- shortcode-handler.php:65 eval() <- shortcodes.php:343 xyz_ips_display_content()
    Dbg: on:09.02.2021 09:30:34: OCC-admin-42: Album 19 does not exist (cache album)

    Also when I go to Appearance -> Widgets and look at the WPPA+ Upload Photos widget I have as a Profile Sidebar widget I see all 65 galleries in the Gallery dropdown.

    I did a comparison between the Gallery Admin page, the Upload Photos widget “Upload to Gallery” dropdown and the profile pages with no images shown and found an interesting pattern. All the galleries with the problem had a zero in the Gallery Id. All the galleries with no zero in the Gallery Id had no problem. The problem Gallery Id’s were: 70 80 100 101 102 103 108 109 110 140 150 160. There were no galleries with a zero in the Gallery Id that worked properly.

    john

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Jacob,

    Also only the users with galleries that appear in the dropdown list show any images in their gallery on their Ultimate Member profile page.

    thanks,
    john

    Thread Starter johnnovakphotography

    (@johnnovakphotography)

    Jacob,

    I just did the upgrade on the site. Do I need to delete the wppa_child_list option again?

    We have 65 galleries and when I login as an administrator and go to the “Upload Photos” widget only 52 galleries show up in the list.

    thanks,
    john

Viewing 15 replies - 1 through 15 (of 24 total)