• Resolved wabetainfo

    (@wabetainfo)


    Hi,
    With the latest updates, I see many warnings in my debug file, and ads do not appear. I use <!–RndAds–> in my pages. Ads generated by this comment do not appear. I just downgraded to 2.0.95.1 and it works. It is a bug with the latest updates.

    PHP Warning: Undefined variable $adsArray in /home/user/public_html/wp-content/plugins/quick-adsense-reloaded/includes/template-functions.php on line 2245
    PHP Warning: Trying to access array offset on null in /home/user/public_html/wp-content/plugins/quick-adsense-reloaded/includes/template-functions.php on line 2245

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    Thank you for reaching out to us.

    We have checked on our end and did not find any such issue. Kindly check once for any conflicts with other plugins. If the issue still persists, please let us know.

    Thread Starter wabetainfo

    (@wabetainfo)

    Hi @akshaycode1

    Thanks for your message. I’ve disabled all my other plugins and I still experience the same bug. Using the 2.0.95.1 version is the only way to avoid this issue.

    Thread Starter wabetainfo

    (@wabetainfo)

    Hi @akshaycode1

    While investigating, I identified a potential issue.

    In version 2.0.95.1, the function quads_parse_random_quicktag_ads uses the globals $adsArray$visibleContentAds, and $quads_options (line 2222, template-functions.php).

    In the latest updates, $adsArray was renamed to $quads_adsArray. However, the code inside the loop still references the old variable here:

    array_push($adsArrayTmp, $adsArray[$i – 1]);

    This causes PHP warnings because $adsArray no longer exists. Updating this reference to $quads_adsArray may resolve the issue.

    Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    We have checked and confirmed that there is indeed an issue.

    We apologize for the inconvenience, and thank you for sharing the solution. We will definitely include it in our upcoming update.

    Here is the GitHub ticket: https://github.com/wpquads/quick-adsense-reloaded/issues/991

    Hi,

    We have released an updated version 3.0.1 that includes a fix for this issue. Please update the plugin and let us know if you encounter any further problems.

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

You must be logged in to reply to this topic.