WordPress.org

Ready to get started?Download WordPress

Forums

SEO Content Control
some errors after upgrade php (2 posts)

  1. Marcin Pietrzak
    Member
    Posted 2 years ago #

    2012/07/07 09:49:28 [error] 3989#0: *257757 FastCGI sent in stderr: "PHP Fatal error: Call-time pass-by-reference has been removed in /var/virtuals/.../wp-content/plugins/seo-content-control/seo_content_control.php on line 1087" while reading response header from upstream, client: x.x.x.x, server: ...., request: "GET /2009/10/12/zzzzz/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:3456", host: "xxx.xx", referrer: "http://xxxx.xxx/"

    www serwer: nginx + fcgi_php

    PHP 5.4.4-2 (cli) (built: Jun 19 2012 07:38:55)
    Copyright (c) 1997-2012 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

    http://wordpress.org/extend/plugins/seo-content-control/

  2. benyafai
    Member
    Posted 1 year ago #

    PHP 5.4 has depreciated some code. You need to change two lines in the plugins file:
    wp-content/plugins/seo-content-control/seo_content_control.php

    Line 1087
    From: return $this->get_bad_author_details ( &$a, $selected_user, $myparams['authorlen'] );
    To: return $this->get_bad_author_details ( $a, $selected_user, $myparams['authorlen'] );

    Line 2172
    From: $s = $this->get_meta_details ( &$a, $selected_user, $myparams['metadesclen'] );
    To: $s = $this->get_meta_details ( $a, $selected_user, $myparams['metadesclen'] );

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags