Support » Plugins and Hacks » [Plugin: WP-Project] Problems with xLanguage & WP Project

  • After activating wp-project I got this message on the top of my wp admin panel:


    Warning:
    unserialize() expects parameter 1 to be string, array given in /home/morph/public_html/four/wp-content/plugins/wp-project/wp-project.php on line 53

    Warning: Cannot modify header information – headers already sent by (output started at /home/morph/public_html/four/wp-content/plugins/wp-project/wp-project.php:53) in /home/morph/public_html/four/wp-content/plugins/xlanguage/xlanguage.php on line 224

    I don’t tested the plugin features. Wp Controlpanel works fine but the message is on every admin page. Any ideas, how I could fix this problem? I’m not a good programmer…

    http://wordpress.org/extend/plugins/wp-project/

Viewing 8 replies - 1 through 8 (of 8 total)
  • @nachtmeister – I’m not sure what the problem is, but I’ll try to make some time to look into it. I’m not familiari with xlanguage, so I’ll have to look through that first.

    I’m afraid it’s not anything related to xLanguage. xLanguage line 224 is a SetCookie call, but because the error (and more importantly error message) is thrown earlier, any HTTP Header related function would then be fatal because it’s too late.

    The particular line 53 in wp-project is about unserialize an get_option call, but AFAIK get_option already does unsearialize, unless you are doing searialization in the wp-project itself, or else it should be a bug.

    I noticed that the code of this exact line is different from the v1.2.3 (current marked stable version) and the trunk version, I bet it has been fixed in the un-released trunk version?

    For the better overview:

    WP project v 1.2.3.
    line 53
    $this->options = unserialize( get_option( 'WP-Project Options' ) );

    xLanguage 1.3.3.
    line 224
    setcookie( xLanguageTagCookie, $this->language, time() + 30000000, COOKIEPATH );

    I have no idea what this means *smile*. But I hope you guys.

    That extra unserialize is my bad. I don’t know why I threw that in there.

    So do you think there will come a bugfix in the foreseeable future? 😉

    Extracted the plug-in, enabled, looks cool – click on the WP-Project tab, so far, so good, shows headers “WP-Project, Projects, Clients,etc” – Projects is highlighted in Red – click on “Projects”… nothing happens… real estate below headers remains blank… any ideas? Thanks…

    @everyone – I’m going to try to find some time to work on this plugin on Thursday, August 28th, so expect a bugfix, at least, on that day.

    Has the plugin ceased development? The available download is till on 1.2.3 and I still got that unserialize error on my 2.7.1 WP.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WP-Project] Problems with xLanguage & WP Project’ is closed to new replies.