Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed ErrorException: [E_WARNING] Undefined variable $excludeAdIds


Staff member
CAS Version
CAS 2.2.35 and CAS 2.3.0 Beta 1
XenForo Version
XF 2.2.15 and XF 2.3.0 Beta 6
PHP Version
Database & Version
Are there any errors being throw?
7ore said:
I upgraded CAS to the latest version today and get this stack trace. What do I need to do to fix that? I tried to rebuild the add-on's master data but that didn't help.
  • ErrorException: [E_WARNING] Undefined variable $excludeAdIds
  • src/addons/XenAddons/CAS/ControllerPlugin/AdList.php:119
This is resolved in both CAS 2.2.36 and CAS 2.3.0 Beta 2.

7ore said:
What do I need to do to fix that?
Its inside a PHP file. I don't explain how to manually fix PHP file issues.

For now, temporarily disable the option Exclude featured ads from ads listing on index and category pages (shown in the screenshot below) and that error will stop being thrown. When CAS 2.2.36 or CAS 2.3.0 Beta 2 is released, then you can enable that option again :)