• This seems to be an interesting error as I don’t see this error posted anywhere. When activating WP-OpenID 2.1.2 in WordPress 2.3.1, I get the following Fatal Error:

    Plugin could not be activated because it triggered a fatal error.
    Parse error: parse error, unexpected '=', expecting ')' in /homepages/7/d227205292/htdocs/travistubbs.net/www/wp-content/plugins/openid/Auth/Yadis/Yadis.php on line 278

    Now, as I’m not a programming genius in any form or fashion, I have no idea why this is happening. Any thoughts and/or suggestions?

Viewing 8 replies - 16 through 23 (of 23 total)
  • When I go to the Options->OpenID with PHP4, I get:

    Warning: implode() [function.implode]: Bad arguments. in /home/myusername/domains/mydomain/public_html/wp-content/plugins/openid/interface.php on line 379

    So, I upgraded to PHP5. And I deleted the entire openid folder after upgrading, re-downloaded, activated…and now when I go to Options->OpenID I just get a blank page. PHP’s display errors is On. sigh.

    like ericabiz, i have the same :

    Warning: implode() [function.implode]: Bad arguments. in /home/myusername/domains/mydomain/public_html/wp-content/plugins/openid/interface.php on line 379

    What should be done? I suppose we really like this plugin..

    I tried blueyed’s fix, and I got the plugin to activate, but it doesn’t actually work ??

    Anyone know how to get a php4 friendly install going?

    I also got it activated, then got the implode message. It doesn’t work on the blog.

    I guess it really needs mysql 5 to fly.

    Let me know if it does.

    https://www.liubinskas.com/blog

    Okay, folks, the problem is that ampersand. Lose it. The line should be

    function discover($uri, $fetcher = null,

    In PHP, a variable fetcher is indicated with “$fetcher” and reference to that variable is indicated with “&fetcher“.

    fetcher is a reference variable, and the programmer has confusedly the value of a reference variable with reference to the reference variable, and then notated this incorrectly.

    the latest version of the plugin (v2.1.7) should have this all fixed.

    I had the same issue, and it referenced a call in widgets.php. However, the fix for me was not in widgets.php (as that was a call to Yadis.php).

    I followed @blueyed’s solution (which is fixed in the code for WP-OpenID 2.1.7 already):

    To fix this for PHP4, replace line 278 (the one causing the error) like this (removing ” = null”):

    -    function discover($uri, &$fetcher = null,
    +    function discover($uri, &$fetcher,

    but then to add a memory markup on line 2 of wp-content/plugins/openid/Auth/Yadis/Yadis.php with:

    ini_set("memory_limit","12M");

    Then everything worked fine.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Fatal Error / Parse error in Yaris.php when WP-OpenID activated’ is closed to new replies.