• Hello – I am getting this error along with very slow load times on my NextGen galleries, can you help? Thanks!

    ERROR Attempt to read property “ID” on null-

    1. wp-includes/link-template.php:394
    2. get_page_link()
      wp-content/plugins/nextgen-gallery/src/DisplayTypes/Albums/SharedController.php:895
    3. Imagely\N\D\A\SharedController->prepare_display_settings()
      wp-content/plugins/nextgen-gallery/src/DisplayTypes/Albums/SharedController.php:229
    4. Imagely\N\D\A\SharedController->enqueue_frontend_resources()
      wp-content/plugins/nextgen-gallery/src/Display/DisplayManager.php:150
    5. Imagely\N\D\DisplayManager::enqueue_frontend_resources_for_displayed_gallery()
      wp-content/plugins/nextgen-gallery/src/Display/DisplayManager.php:112
    6. Imagely\N\D\DisplayManager::enqueue_frontend_resources_for_content()
      wp-content/plugins/nextgen-gallery/src/Display/DisplayManager.php:53
    7. Imagely\N\D\DisplayManager->enqueue_frontend_resources()
      wp-includes/class-wp-hook.php:324
    8. do_action('wp_enqueue_scripts')
      wp-includes/script-loader.php:2262
    9. wp_enqueue_scripts()
      wp-includes/class-wp-hook.php:324
    10. do_action('wp_head')
      wp-includes/general-template.php:3052
    11. wp_head()
      wp-content/themes/boldgrid-pavilion/templates/head.php:16
    12. load_template('wp-content/themes/boldgrid-pavilion/templates/head.php')
      wp-includes/template.php:725
    13. locate_template()
      wp-includes/general-template.php:206
    14. get_template_part('templates/head')
      wp-content/themes/boldgrid-pavilion/base.php:32

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter oestek

    (@oestek)

    I also get this error on the public frontend:

    Warning: Attempt to read property “ID” on null in /home/v8tvsh5/public_html/v8speedshop.com/wp-includes/link-template.php on line 394

    Thread Starter oestek

    (@oestek)

    More errors showing up:

    WarningAttempt to read property “ID” on null+

    1. wp-includes/link-template.php:394

    1Plugin: nextgen-galleryWarningAttempt to read property “ID” on null+

    1. wp-includes/link-template.php:409

    1Plugin: nextgen-galleryWarningTrying to access array offset on value of type null+

    1. wp-content/plugins/nextgen-gallery/templates/Thumbnails/default-view.php:66

    1Plugin: nextgen-galleryWarningTrying to access array offset on value of type null+

    1. wp-content/plugins/nextgen-gallery/templates/Thumbnails/default-view.php:67

    I am having the same error messages in my phperror log

    [12-Jun-2024 11:29:00 UTC] PHP Warning: Attempt to read property “ID” on null in /home/XXXXX/public_html/wp-includes/link-template.php on line 394
    [12-Jun-2024 11:29:00 UTC] PHP Warning: Attempt to read property “ID” on null in /home/XXXXX/public_html/wp-includes/link-template.php on line 409

    Did you find a solution? I think this is from NGGGallery but not sure

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.