WordPress.org

Ready to get started?Download WordPress

Forums

Nextgen gallery and Social privacy both interfere with get_currentuserinfo? (6 posts)

  1. LostInNetwork
    Member
    Posted 5 years ago #

    If I enable Social privacy (social access control) or Nextgen gallery, this happens:

    "Fatal error: Call to undefined function get_currentuserinfo() in /wp-content/plugins/gengo/gengo.php on line 1557"

    Any ideas of how to debug this?

  2. Alex Rabe
    Member
    Posted 5 years ago #

    Seems to be a Gengo problem, not a NextGEN issue

  3. davidjoos
    Member
    Posted 5 years ago #

    I've got this issue as well - has anyone found a solution?
    Thanks in advance!

  4. Paolo T. (pixline)
    Member
    Posted 5 years ago #

    Which version of WordPress, which version of Gengo, which version of NextGEN?

    Note: I'm trying to restart development for Gengo, but I'm actually alone and without much time. Don't expect anything but my commitment, actually.

  5. davidonlaptop
    Member
    Posted 5 years ago #

    Hi pixline!

    This happens to me with WordPress 2.7.1, Gengo 2.5.3 and Nextgen-Gallery 1.2.1.

    Steps to reproduce:
    1) Activate Gengo. Works fine.
    2) Activate Nextgen, fatal error @ line 1557 in gengo.php.

    It looks like a conflict between Gengo and Nextgen.

  6. edrahil
    Member
    Posted 4 years ago #

    Hi,

    if you have problem with line 1557 Call to undefined function get_currentuserinfo() in Gengo plugin, try this :

    remplace :

    function locale($locale) {
    global $wp_rewrite, $gengo_use_default_language, $userdata;

    by this:

    function locale($locale) {
    global $wp_rewrite, $gengo_use_default_language, $userdata;
    // On inclus le fichier où est définie la fonction :
    require (ABSPATH . WPINC . '/pluggable.php');

    in gengo.php

    It works for me in a conflict between Gengo and an other gallery plugin called WP-simpleviewer.
    I hope it could help...

    Found here :
    http://www.soon7.com/developpements/gengo-comment-resoudre-lerreur-call-to-undefined-function-get_currentuserinfo-in-wp-contentpluginsgengogengo-php-on/

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags