WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Warning: Illegal string offset 'recipient' in PHP 5.4 (3 posts)

  1. nikkione
    Member
    Posted 1 year ago #

    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/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you. It will be fixed in the next version. If it's urgent, try the development version.

  3. jamesdbruner
    Member
    Posted 1 year ago #

    I'm curious, how are you fixing this? I'm having a similar issue with a plugin I'm working on.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic