• After AA 2.0.23 update I get a fatal error on all sites. It appears to be related to Cache busting on AA pro. Disabling cache busting fixes the issue.

    Php: 8.4.22
    Theme: TagDiv Newspaper

     Fatal error: Uncaught TypeError: Cannot access offset of type array in isset or empty in /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/advanced-ads/includes/abstracts/abstract-group.php:170 Stack trace: #0 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/advanced-ads-pro/modules/cache-busting/cache-busting.class.php(1202): AdvancedAds\Abstracts\Group->get_ad_weights() #1 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/advanced-ads-pro/modules/cache-busting/cache-busting.class.php(885): Advanced_Ads_Pro_Module_Cache_Busting->get_passive_overriden_group() #2 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/advanced-ads-pro/modules/cache-busting/cache-busting.class.php(589): Advanced_Ads_Pro_Module_Cache_Busting->cache_busting_auto_for_group() #3 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/class-wp-hook.php(341): Advanced_Ads_Pro_Module_Cache_Busting->override_ad_select_by_group() #4 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #5 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/advanced-ads/includes/abstracts/abstract-placement.php(221): apply_filters() #6 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/advanced-ads/includes/abstracts/abstract-placement.php(276): AdvancedAds\Abstracts\Placement->generate_html() #7 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/advanced-ads/includes/traits/class-entity.php(297): AdvancedAds\Abstracts\Placement->prepare_output() #8 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/advanced-ads/includes/functions-placement.php(61): AdvancedAds\Abstracts\Placement->output() #9 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/advanced-ads/modules/gutenberg/includes/class-gutenberg.php(260): get_the_placement() #10 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/class-wp-block.php(596): Advanced_Ads_Gutenberg::render_ad_selector() #11 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/blocks.php(2438): WP_Block->render() #12 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/blocks.php(2521): render_block() #13 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/class-wp-hook.php(343): do_blocks() #14 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #15 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/widgets/class-wp-widget-block.php(77): apply_filters() #16 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php(2966): WP_Widget_Block->widget() #17 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/class-wp-hook.php(341): on_widget_display_callback() #18 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #19 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/class-wp-widget.php(383): apply_filters() #20 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/widgets.php(845): WP_Widget->display_callback() #21 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/includes/shortcodes/vc_widget_sidebar.php(25): dynamic_sidebar() #22 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): vc_widget_sidebar->render() #23 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/shortcodes.php(434): td_global_blocks::proxy_function() #24 [internal function]: do_shortcode_tag() #25 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/shortcodes.php(273): preg_replace_callback() #26 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/includes/tdc_composer_block.php(222): do_shortcode() #27 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php(451): tdc_composer_block->do_shortcode() #28 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): vc_column->render() #29 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/shortcodes.php(434): td_global_blocks::proxy_function() #30 [internal function]: do_shortcode_tag() #31 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/shortcodes.php(273): preg_replace_callback() #32 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/includes/tdc_composer_block.php(222): do_shortcode() #33 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/includes/shortcodes/vc_row.php(1204): tdc_composer_block->do_shortcode() #34 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): vc_row->render() #35 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/shortcodes.php(434): td_global_blocks::proxy_function() #36 [internal function]: do_shortcode_tag() #37 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/shortcodes.php(273): preg_replace_callback() #38 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/includes/tdc_composer_block.php(222): do_shortcode() #39 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/includes/shortcodes/tdc_zone.php(843): tdc_composer_block->do_shortcode() #40 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): tdc_zone->render() #41 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/shortcodes.php(434): td_global_blocks::proxy_function() #42 [internal function]: do_shortcode_tag() #43 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/shortcodes.php(273): preg_replace_callback() #44 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/class-wp-hook.php(341): do_shortcode() #45 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #46 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/post-template.php(256): apply_filters() #47 /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/td-standard-pack/Newspaper/page.php(51): the_content() #48 /var/www/vhosts/zlata-leta.si/httpdocs/wp-includes/template-loader.php(132): include('...') #49 /var/www/vhosts/zlata-leta.si/httpdocs/wp-blog-header.php(19): require_once('...') #50 /var/www/vhosts/zlata-leta.si/httpdocs/index.php(17): require('...') #51 {main} thrown in /var/www/vhosts/zlata-leta.si/httpdocs/wp-content/plugins/advanced-ads/includes/abstracts/abstract-group.php on line 170
    • This topic was modified 4 days, 21 hours ago by xxxLesy.
    • This topic was modified 4 days, 21 hours ago by xxxLesy.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support ahmeddr

    (@ahmeddr)

    Hi there,

    Thank you for reporting this.

    We are actively working on fixing this issue. Until an updated version is released, we recommend temporarily rolling back to the previous stable version, 2.0.22.

    You can do this from your WordPress dashboard by going to: Advanced Ads > Tools > Version Control

    Then select version 2.0.22 and apply the rollback.

    I don’t think this is needed in this case, but If you no longer have access to your WordPress dashboard because of a fatal error, you can temporarily deactivate Advanced Ads and its add-ons via FTP, SFTP, or your hosting file manager.

    To do this, go to wp-content/plugins/ then rename the Advanced Ads plugin folders, for example by adding “-disabled” to the folder name. This will deactivate the plugins and should allow you to access the dashboard again. Please ensure to rename the folders back after you are able to access the admin area.

    After that, please keep the Pro add-on disabled and activate only the Advanced Ads core plugin. Then roll back the core plugin to version 2.0.22 as explained above. Once the rollback is complete, you can reactivate the Pro add-on.

    We appreciate your patience and will share an update as soon as the fix is available.

    Best regards,

    Thread Starter xxxLesy

    (@xxxlesy)

    Thanks. Both options produce a stable site for me:

    • Rollback AA to 2.0.22 or
    • Disable Cache busting in Pro settings (while staying on 2.0.23)
    Moderator Support Moderator

    (@moderator)

    If you are an Advance Ads Pro user, please do not post on this site. The developer could get into trouble supporting customers here.

    For pro or customer support, please contact the developer on their site. This includes pre-sales information.

    https://wpadvancedads.com/support/

    @ahmeddr You must fix your site. Pro users are coming here and that could get your plugin here closed.

    As the developer is aware, customers may not be supported on this site.

    https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products

    If you are a non-pro user and you did not start this topic, please start your own topic.

    The forum guidelines explain why here:

    https://wordpress.org/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too

    You can start your own support topic here whenever you’re ready.

    https://wordpress.org/support/plugin/advanced-ads/

    I have removed the many “I have this problem too” replies.

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

The topic ‘Fatal error after AA 2.0.23 + Pro Cache busting’ is closed to new replies.