• Resolved codifex

    (@codifex)


    We are using the current version of NextCellent Gallery together with Yoast WordPress SEO.

    Unfortunately version 1.9.25.2 (and also 1.9.25) of NextCellent Gallery break Yoast’s XML posts sitemap feature.

    The XML sitemap begins with these warnings coming from NextCellent Gallery

    {br
    /}
    {b}Warning{/b}: Missing argument 2 for nggdb::find_images_in_list(), called in #/wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/sitemap.php on line 113 and defined in {b}#/wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/ngg-db.php{/b} on line {b}572{/b}{br
    /}
    {br
    /}
    {b}Warning{/b}: Missing argument 3 for nggdb::find_images_in_list(), called in #/wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/sitemap.php on line 113 and defined in {b}#/wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/ngg-db.php{/b} on line {b}572{/b}{br
    /}
    {br
    /}
    {b}Warning{/b}: Missing argument 2 for nggdb::find_images_in_list(), called in #/wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/sitemap.php on line 113 and defined in {b}#/wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/ngg-db.php{/b} on line {b}572{/b}{br
    /}
    {br
    /}
    {b}Warning{/b}: Missing argument 3 for nggdb::find_images_in_list(), called in #/wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/sitemap.php on line 113 and defined in {b}#/wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/ngg-db.php{/b} on line {b}572{/b}{br
    /}

    Any ideas how to fix this are welcome, as XML posts sitemap is a crucial feature for every website.

    Thank you in advance!

    https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPReady

    (@wpready)

    Hi codifex,
    this is an issue with current version 1.9.25.2
    A temporary solution would be change manually the file lib/ngg-db.php (line 572)

    static function find_images_in_list( $pids, $exclude , $order)

    with

    static function find_images_in_list( $pids, $exclude = false , $order = ‘NOTSET’)

    This will be addressed in the next fix/release.

    Thread Starter codifex

    (@codifex)

    Thank you, the problem is resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Yoast XML posts sitemap broken by NextCellent Gallery 1.9.25.2’ is closed to new replies.