• Resolved Ovidiu

    (@ovidiu)


    Site gave error 500 had to remove the plugin. Found this in my error logs:

    2013/05/30 10:04:41 [error] 562606#0: *31513 FastCGI sent in stderr: “PHP message: PHP Fatal error: Call-time pass-by-reference has been removed in /var/www/clients/client1/web1/web/wp-content/plugins/u-extended-comment/includes/editor.php on line 135” while reading response header from upstream, client: 41.55.237.33, server: pacura.ru, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/lib/php5-fpm/web1.sock:”, host: “pacura.ru”

    I think this happened after upgrading to PHP 5.4 from 5.3

    https://www.ads-software.com/extend/plugins/u-extended-comment/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not a coder, but, I just fiddled around and found a quick solution (work-a-round) for this error. Just comment out or remove line 133. It seems that the code for the version check is the problem. And since I know my version is greater than 3.2, there shouldn’t be a problem removing that line.

    Once removed, the plugin activates and works as expected.

    Quick instructions: Use an FTP/Editor like NotePad++ to open the file mentioned in the error. Then add // in front of the text on line 133. Include a space after the “// ” no parentheses. Save and re-upload, if necessary to your blog.

    Change:

    Line 133: if( version_compare($wp_version, "3.2", ">=") )

    To:

    Line 133: // if( version_compare($wp_version, "3.2", ">=") )

    I’m sure there is a better way to fix this. But, hopefully this helps some.

    Thread Starter Ovidiu

    (@ovidiu)

    ah, thanks for sharing your quick-fix ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php error not sure what the problem is’ is closed to new replies.