Support » Plugin: Popup for Contact Form 7 » Fatal Error

  • Resolved Igor Ilgiyaev

    (@bigshow)


    I had this issue when I moved the website from one server to another

    Fatal error: Can’t use function return value in write context in /home/bizable/public_html/wp-content/plugins/popup-for-contact-form-7/popup-for-contact-form7.php on line 123

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have removed this code from line 123:
    $selected_forms = ! empty( get_option( ‘enabled-cf7-form’ ) ) ? get_option( ‘enabled-cf7-form’ ) : array();
    and changed it
    $selected_forms = ( get_option( ‘enabled-cf7-form’ ) ) ? get_option( ‘enabled-cf7-form’ ) : array();

    and it worked

    Is it ok???

    Plugin Author aiyaz Khorajia

    (@aiyaz)

    Yes, perfect fix! thanks for reporting it, not sure how it is working on my side, might be different php version.

    I think different PHP version and different Collation 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error’ is closed to new replies.