Support » Plugin: Quick Adsense » Plugin gives error after 2.1 version update

  • After upgrading to Ver 2.1, it gives below error

    Can’t use function return value in write context in /home/content/26/9542426/html/wp-content/plugins/quick-adsense/includes/content.php on line 35

    Please help

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • I think this is an issue with empty() prior to PHP 5.5.

    I was able to get it working by changing line 35 on content.php to the following two lines:

    $onpost_ad_tmp_content = trim( isset($settings['onpost_ad_'.$i.'_content']) ? $settings['onpost_ad_'.$i.'_content'] : '' );  
    if( ! empty($onpost_ad_tmp_content) ) {

    Same issue for me (17 websites down). So I went to the plugin archive, downloaded an older version of the plugin, connected to each website via ftp, renamed the existing plugin by adding a dot onto the end, and uploaded the slightly older plugin. All my websites are now back up. (I just have to remember not to update them until this bug is fixed).

    Plugin Author quickadsense


    Sorry for any inconvenience. The update 2.2 has been published and we are waiting for WordPress support approval.

    Great. I just updated Ver 2.2 and Quick adsense working fine. Thanks a ton

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin gives error after 2.1 version update’ is closed to new replies.