Support » Plugin: NextCellent Gallery - NextGEN Legacy » PHP Fatal error: Call to a member function get_permalink()

  • Hi,

    unfortunally I’m getting fatal PHP errors with the NextCellent Gallery plugin:

    [Wed Apr 01 17:25:49.215256 2020] [fcgid:warn] [pid 12733:tid 140340938405632] [client 2003:c5:9f08:fb00:4d05:264e:3551:3e8d:49779] mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Call to a member function get_permalink() on null in /var/www/clients/client1/web169/web/wp-content/plugins/nextcellent-gallery-nextgen-legacy/nggfunctions.php:366, referer: https://www.domain.tld/wp-admin/post.php?post=6177&action=edit&lang=de
    [Wed Apr 01 17:25:49.215284 2020] [fcgid:warn] [pid 12733:tid 140340938405632] [client 2003:c5:9f08:fb00:4d05:264e:3551:3e8d:49779] mod_fcgid: stderr: Stack trace:, referer: https://www.domain.tld/wp-admin/post.php?post=6177&action=edit&lang=de
    [Wed Apr 01 17:25:49.215288 2020] [fcgid:warn] [pid 12733:tid 140340938405632] [client 2003:c5:9f08:fb00:4d05:264e:3551:3e8d:49779] mod_fcgid: stderr: #0 /var/www/clients/client1/web169/web/wp-content/plugins/nextcellent-gallery-nextgen-legacy/nggfunctions.php(228): nggCreateGallery(Array, '208', '', false), referer: https://www.domain.tld/wp-admin/post.php?post=6177&action=edit&lang=de
    [Wed Apr 01 17:25:49.215291 2020] [fcgid:warn] [pid 12733:tid 140340938405632] [client 2003:c5:9f08:fb00:4d05:264e:3551:3e8d:49779] mod_fcgid: stderr: #1 /var/www/clients/client1/web169/web/wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/shortcodes.php(241): nggShowGallery('208', '', false), referer: https://www.domain.tld/wp-admin/post.php?post=6177&action=edit&lang=de
    [Wed Apr 01 17:25:49.215293 2020] [fcgid:warn] [pid 12733:tid 140340938405632] [client 2003:c5:9f08:fb00:4d05:264e:3551:3e8d:49779] mod_fcgid: stderr: #2 /var/www/clients/client1/web169/web/wp-includes/shortcodes.php(343): NextGEN_shortcodes->show_gallery(Array, '', 'nggallery'), referer: https://www.domain.tld/wp-admin/post.php?post=6177&action=edit&lang=de
    [Wed Apr 01 17:25:49.215296 2020] [fcgid:warn] [pid 12733:tid 140340938405632] [client 2003:c5:9f08:fb00:4d05:264e:3551:3e8d:49779] mod_fcgid: stderr: #3 [internal function]: do_shortcode_tag(Array), referer: https://www.domain.tld/wp-admin/post.php?post=6177&action=edit&lang=de
    [Wed Apr 01 17:25:49.215298 2020] [fcgid:warn] [pid 12733:tid 140340938405632] [client 2003:c5:9f08:fb00:4d05:264e:3551:3e8d:49779] mod_fcgid: stderr: #4 /var/www/clients/client1/web169/web/wp-includes/shortcodes.php(218): preg_replace_callback('/\\\\[(\\\\[?)(nggall...', 'do_shortcode_ta...', '[nggallery id=2...'), referer: https://www.domain.tld/wp-admin/post.php?post=6177&action=edit&lang=de
    [Wed Apr 01 17:25:49.215301 2020] [fcgid:warn] [pid 12733:tid 140340938405632] [client 2003:c5:9f08:fb00:4d05:264e:3551:3e8d:49779] mod_fcgid: stderr: #5 /var/www/clients/client1/web169/web/wp-content/plugins/wordpress-seo/admin/ajax/class-shortcode-filter.php(35): do_shortcode('[nggallery id=2...'), referer: https://www.domain.tld/wp-admin/post.php?post=6177&action=edit&lang=de
    [Wed Apr 01 17:25:49.215310 2020] [fcgid:warn] [pid 12733:tid 140340938405632] [client 2003:c5:9f08:fb00:4d05:264e:3551:3e8d:49779] mod_fcgid: stderr: #6 /var/www/clients/client1/web16 in /var/www/clients/client1/web169/web/wp-content/plugins/nextcellent-gallery-nextgen-legacy/nggfunctions.php on line 366, referer: https://www.domain.tld/wp-admin/post.php?post=6177&action=edit&lang=de

    I’m running PHP 7.2 and MariaDB 10.4 on this website.

    Can you do something about it?

    Regards,
    Martin

Viewing 1 replies (of 1 total)
  • I have some more information about this issue:

    First I only noticed a problem with the plugin Prosodia VGW OS (https://wordpress.org/support/plugin/wp-vgwort/). Here are some more information about this issue:
    https://wordpress.org/support/topic/neuberechnung-aller-beitrage-lauft-nicht-los/#post-1261204
    In short: A PHP-FATAL-ERROR occurs at https://plugins.trac.wordpress.org/browser/nextcellent-gallery-nextgen-legacy/trunk/nggfunctions.php#L366

    Today I noticed that I also get an error with plugin Relevanssi (https://wordpress.org/plugins/relevanssi/) if I include the indexing option “Expand shortcodes when indexing”:

    [Thu Apr 23 16:05:35.611982 2020] [fcgid:warn] [pid 22378:tid 139678757222144] [client 2003:c5:9f10:8200:815a:1556:f9af:9f79:59503] mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Call to a member function get_permalink() on null in /var/www/clients/client1/web169/web/wp-content/plugins/nextcellent-gallery-nextgen-legacy/nggfunctions.php:366, referer: https://www.domain.tld/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=indexing
    [Thu Apr 23 16:05:35.612005 2020] [fcgid:warn] [pid 22378:tid 139678757222144] [client 2003:c5:9f10:8200:815a:1556:f9af:9f79:59503] mod_fcgid: stderr: Stack trace:, referer: https://www.domain.tld/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=indexing
    [Thu Apr 23 16:05:35.612008 2020] [fcgid:warn] [pid 22378:tid 139678757222144] [client 2003:c5:9f10:8200:815a:1556:f9af:9f79:59503] mod_fcgid: stderr: #0 /var/www/clients/client1/web169/web/wp-content/plugins/nextcellent-gallery-nextgen-legacy/nggfunctions.php(228): nggCreateGallery(Array, '199', '', false), referer: https://www.domain.tld/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=indexing
    [Thu Apr 23 16:05:35.612010 2020] [fcgid:warn] [pid 22378:tid 139678757222144] [client 2003:c5:9f10:8200:815a:1556:f9af:9f79:59503] mod_fcgid: stderr: #1 /var/www/clients/client1/web169/web/wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/shortcodes.php(241): nggShowGallery('199', '', false), referer: https://www.domain.tld/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=indexing
    [Thu Apr 23 16:05:35.612013 2020] [fcgid:warn] [pid 22378:tid 139678757222144] [client 2003:c5:9f10:8200:815a:1556:f9af:9f79:59503] mod_fcgid: stderr: #2 /var/www/clients/client1/web169/web/wp-includes/shortcodes.php(343): NextGEN_shortcodes->show_gallery(Array, '', 'nggallery'), referer: https://www.domain.tld/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=indexing
    [Thu Apr 23 16:05:35.612016 2020] [fcgid:warn] [pid 22378:tid 139678757222144] [client 2003:c5:9f10:8200:815a:1556:f9af:9f79:59503] mod_fcgid: stderr: #3 [internal function]: do_shortcode_tag(Array), referer: https://www.domain.tld/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=indexing
    [Thu Apr 23 16:05:35.612018 2020] [fcgid:warn] [pid 22378:tid 139678757222144] [client 2003:c5:9f10:8200:815a:1556:f9af:9f79:59503] mod_fcgid: stderr: #4 /var/www/clients/client1/web169/web/wp-includes/shortcodes.php(218): preg_replace_callback('/\\\\[(\\\\[?)(nggall...', 'do_shortcode_ta...', '[nggallery id=1...'), referer: https://www.domain.tld/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=indexing
    [Thu Apr 23 16:05:35.612021 2020] [fcgid:warn] [pid 22378:tid 139678757222144] [client 2003:c5:9f10:8200:815a:1556:f9af:9f79:59503] mod_fcgid: stderr: #5 /var/www/clients/client1/web169/web/wp-content/plugins/relevanssi/lib/indexing.php(1482): do_shortcode('[nggallery id=1...'), referer: https://www.domain.tld/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=indexing
    [Thu Apr 23 16:05:35.612032 2020] [fcgid:warn] [pid 22378:tid 139678757222144] [client 2003:c5:9f10:8200:815a:1556:f9af:9f79:59503] mod_fcgid: stderr: #6 /var/www/clients/client1/web169/web/wp-content/plugi in /var/www/clients/client1/web169/web/wp-content/plugins/nextcellent-gallery-nextgen-legacy/nggfunctions.php on line 366, referer: https://www.domain.tld/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=indexing

    Sounds pretty similar to me.

    Can I get some help, please? I am also willing to test or give more information if needed.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal error: Call to a member function get_permalink()’ is closed to new replies.