Title: Craftsmann's Replies | WordPress.org

---

# Craftsmann

  [  ](https://wordpress.org/support/users/craftsmann/)

 *   [Profile](https://wordpress.org/support/users/craftsmann/)
 *   [Topics Started](https://wordpress.org/support/users/craftsmann/topics/)
 *   [Replies Created](https://wordpress.org/support/users/craftsmann/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/craftsmann/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/craftsmann/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/craftsmann/engagements/)
 *   [Favorites](https://wordpress.org/support/users/craftsmann/favorites/)

 Search replies:

## Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] [Plugin: Polylang] Unable to login after upgrade to 3.3](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/)
 *  Thread Starter [Craftsmann](https://wordpress.org/support/users/craftsmann/)
 * (@craftsmann)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/page/2/#post-2450581)
 * Yes it’s OK
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] [Plugin: Polylang] Unable to login after upgrade to 3.3](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/)
 *  Thread Starter [Craftsmann](https://wordpress.org/support/users/craftsmann/)
 * (@craftsmann)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/#post-2450579)
 * Yes, lines are active and defined by unique phrases
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] [Plugin: Polylang] Unable to login after upgrade to 3.3](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/)
 *  Thread Starter [Craftsmann](https://wordpress.org/support/users/craftsmann/)
 * (@craftsmann)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/#post-2450574)
 * After deleting cookies (using Firefox dev bar) and refreshing admin area nothing
   happens. I stay authorized.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] [Plugin: Polylang] Unable to login after upgrade to 3.3](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/)
 *  Thread Starter [Craftsmann](https://wordpress.org/support/users/craftsmann/)
 * (@craftsmann)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/#post-2450556)
 * Ok
    option 1 suits me for now. If need additional info I can provide it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] [Plugin: Polylang] Unable to login after upgrade to 3.3](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/)
 *  Thread Starter [Craftsmann](https://wordpress.org/support/users/craftsmann/)
 * (@craftsmann)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/#post-2450553)
 * News 🙂
    After define or comment those constants in wp-config.php everything 
   works now.
 *     ```
       define('AUTH_KEY',
       define('SECURE_AUTH_KEY',
       define('LOGGED_IN_KEY',
       define('NONCE_KEY',
       define('AUTH_SALT',
       define('SECURE_AUTH_SALT',
       define('LOGGED_IN_SALT',
       define('NONCE_SALT',
       ```
   
 * But I discard those changes and comment line 9 – it also was successful, now 
   I can log in to admin area. Besides after disabling line 45 in admin-filters.
   php everything works fine.
    `//add_filter('locale', array(&$this, 'get_locale'));`
 * So there are two options when site works
    1. When constants are defined not by
   default values or commented 2. When commented line 45 in admin-filters.php
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] [Plugin: Polylang] Unable to login after upgrade to 3.3](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/)
 *  Thread Starter [Craftsmann](https://wordpress.org/support/users/craftsmann/)
 * (@craftsmann)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/#post-2450546)
 * Yes, sure.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] [Plugin: Polylang] Unable to login after upgrade to 3.3](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/)
 *  Thread Starter [Craftsmann](https://wordpress.org/support/users/craftsmann/)
 * (@craftsmann)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/#post-2450539)
 * Yes, I can.
    Also I can log in in front-end but when I try to go to admin area
   I get log in window again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] [Plugin: Polylang] Unable to login after upgrade to 3.3](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/)
 *  Thread Starter [Craftsmann](https://wordpress.org/support/users/craftsmann/)
 * (@craftsmann)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-unable-to-login-after-upgrade-to-33/#post-2450253)
 * Unfortunately no, just nothing happens.
    1. But my local site on my local desktop
   works fine, I have problem only on my hosting site, may be something wrong with
   url rewrite rules and cookies (I mean adding language to url)… 2. Polylang is
   the only one active plugin on both my sites. 3. Where in DB polylang store its
   settings? I’ll try to drop them.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] [Plugin: Polylang] Call to a member function the_languages()](https://wordpress.org/support/topic/plugin-polylang-call-to-a-member-function-the_languages/)
 *  Thread Starter [Craftsmann](https://wordpress.org/support/users/craftsmann/)
 * (@craftsmann)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-call-to-a-member-function-the_languages/#post-2440482)
 * This line works! In addition I found out the cause of error – this is conflict
   with [Tabbed Widgets](http://wordpress.org/extend/plugins/tabbed-widgets/) plugin.
   
   So many thanks for your help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] [Plugin: Polylang] Call to a member function the_languages()](https://wordpress.org/support/topic/plugin-polylang-call-to-a-member-function-the_languages/)
 *  Thread Starter [Craftsmann](https://wordpress.org/support/users/craftsmann/)
 * (@craftsmann)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-call-to-a-member-function-the_languages/#post-2440428)
 * Thanks for the quick answer! No, I don’t have any preview plugins. But I have
   to say I have a lot of plugins on my test environment  which one is bad is difficult
   to say.
    After brief view of plugin code I suppose that it happened because when
   I click Save hook named widgets_init begins to run but global $polylang was not
   declared as object at this moment. (also after unsuccessful save all my widget
   page in admn area crashed with this error ). I’ve changed piece of code in Polylang’s
   constructor in that way and now everything is ok in my case. But I’m note sure
   that this is the right solution so far 🙂
 *     ```
       if (is_admin()) {
               require_once(PLL_INC.'/admin.php');
       	new Polylang_Admin();
               require_once(PLL_INC.'/core.php');
               $polylang = new Polylang_Core();
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Popular Posts] [Plugin: WordPress Popular Posts] error "Sorry. No data so far."](https://wordpress.org/support/topic/plugin-wordpress-popular-posts-error-sorry-no-data-so-far/)
 *  [Craftsmann](https://wordpress.org/support/users/craftsmann/)
 * (@craftsmann)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-popular-posts-error-sorry-no-data-so-far/#post-2030673)
 * I have the same problem. I have wp_head() before </head> in my theme.

Viewing 11 replies - 1 through 11 (of 11 total)