Title: edzel's Replies | WordPress.org

---

# edzel

  [  ](https://wordpress.org/support/users/edzel/)

 *   [Profile](https://wordpress.org/support/users/edzel/)
 *   [Topics Started](https://wordpress.org/support/users/edzel/topics/)
 *   [Replies Created](https://wordpress.org/support/users/edzel/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/edzel/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/edzel/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/edzel/engagements/)
 *   [Favorites](https://wordpress.org/support/users/edzel/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress] Fatal error: Can't use function return value in write context in /home/content/7](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-in-homecontent7/)
 *  Thread Starter [edzel](https://wordpress.org/support/users/edzel/)
 * (@edzel)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-in-homecontent7/#post-8891845)
 * you can also update the plugin in the latest version (1.4.1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress] Fatal error: Can't use function return value in write context in /home/content/7](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-in-homecontent7/)
 *  Thread Starter [edzel](https://wordpress.org/support/users/edzel/)
 * (@edzel)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-in-homecontent7/#post-8891834)
 * Go to line 102 in ihaf.php
 * Change
 *     ```
       if ( empty( get_option( $this->plugin->db_welcome_dismissed_key ) ) ) {
       if ( ! ( $pagenow == ‘options-general.php’ && isset( $_GET[‘page’] ) && $_GET[‘page’] == ‘insert-headers-and-footers’ ) ) {
       $setting_page = admin_url( ‘options-general.php?page=’ . $this->plugin->name );
       // load the notices view
       include_once( WP_PLUGIN_DIR . ‘/’ . $this->plugin->name . ‘/views/dashboard-notices.php’ );
       }
       }
       ```
   
 * to
 *     ```
       /*
       if ( empty( get_option( $this->plugin->db_welcome_dismissed_key ) ) ) {
       if ( ! ( $pagenow == ‘options-general.php’ && isset( $_GET[‘page’] ) && $_GET[‘page’] == ‘insert-headers-and-footers’ ) ) {
       $setting_page = admin_url( ‘options-general.php?page=’ . $this->plugin->name );
       // load the notices view
       include_once( WP_PLUGIN_DIR . ‘/’ . $this->plugin->name . ‘/views/dashboard-notices.php’ );
       }
       }
       */
       ```
   
 * _[Moderator note: code fixed. Please wrap code in the backtick character or [use the code button](https://codex.wordpress.org/Forum_Welcome#Posting_Code).]_
    -  This reply was modified 9 years, 2 months ago by [bdbrown](https://wordpress.org/support/users/bdbrown/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress] Fatal error: Can't use function return value in write context in /home/content/7](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-in-homecontent7/)
 *  Thread Starter [edzel](https://wordpress.org/support/users/edzel/)
 * (@edzel)
 * [10 years ago](https://wordpress.org/support/topic/fatal-error-cant-use-function-return-value-in-write-context-in-homecontent7/#post-7350826)
 * Thank you Delton after that update it works really well in addition I manage 
   to fix that php code error from original code ( empty( get_option( ‘sc_display_global_coupons’))){“
   Prior to PHP 5.5, empty() only supports variables; anything else will result 
   in a parse error” then I’ve change the code to this one ” $res = get_option( ‘
   sc_display_global_coupons’ ); if ( empty($res) ) { ” and it works well.

Viewing 3 replies - 1 through 3 (of 3 total)