Support » Plugin: Contact Form 7 » Warning: Illegal string offset 'recipient' in PHP 5.4

  • Resolved nikkione

    (@nikkione)


    Hello! i installed WP 3.5.1 and CF7 3.3.3
    and have this warning:
    Warning: Illegal string offset ‘recipient’ in /usr/local/customers/webs/kitmedia/ssr1/wp-content/plugins/contact-form-7/includes/classes.php on line 648

    so message don’t sent. I found that this warning been at PHP 5.4 usually.And really on other hosting with php5.2 all works perfect. Think trouble in [ ]
    line 648:

    function upgrade() {
    		if ( ! isset( $this->mail['recipient'] ) )
    			$this->mail['recipient'] = get_option( 'admin_email' );

    http://wordpress.org/extend/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: Illegal string offset 'recipient' in PHP 5.4’ is closed to new replies.