• Resolved Eric McNiece

    (@emcniece)


    Notice: Use of undefined constant AIOFAVICON_TEXTDOMAIN – assumed ‘AIOFAVICON_TEXTDOMAIN’ in /hsphere/local/home/c254298/site.com/wp-content/plugins/all-in-one-favicon/all-in-one-favicon.php on line 37

    This just started popping up after a recent update of WP and a few plugins. It appears with 2 other errors from different plugins, so I’m not convinced that it’s actually a bug yet – could be a conflict with something totally unrelated.

    Just posting this here in case somebody else stumbles across it.

    http://wordpress.org/extend/plugins/all-in-one-favicon/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Eric McNiece

    (@emcniece)

    Hmm…

    all-in-one-favicon.php, Existing lines 36-41:

    if (!defined('AIOFAVICON_NAME')) {
      define('AIOFAVICON_NAME', __('All in one Favicon',AIOFAVICON_TEXTDOMAIN));
    }
    if (!defined('AIOFAVICON_TEXTDOMAIN')) {
      define('AIOFAVICON_TEXTDOMAIN', 'aio-favicon');
    }

    New lines 36-41:

    if (!defined('AIOFAVICON_TEXTDOMAIN')) {
      define('AIOFAVICON_TEXTDOMAIN', 'aio-favicon');
    }
    if (!defined('AIOFAVICON_NAME')) {
      define('AIOFAVICON_NAME', __('All in one Favicon',AIOFAVICON_TEXTDOMAIN));
    }

    … right? Removes the error at least. By the way, I’m running in WP_DEBUG, maybe that’s why this is popping up.

    Plugin Contributor techotronic

    (@techotronic)

    Hi,
    yeah, you’re right, this will be fixed in the next version.
    Cheers,
    Arne

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: All In One Favicon] Notice: use of undefined constant AIOFAVICON_TEXTDOMAIN’ is closed to new replies.