In Post Ads not working and getting PHP warnings

I can’t get ‘custom ads’ to insert into existing posts – and getting a bunch of PHP errors

PHP Error Count Location Call Stack Component

Warning Illegal string offset ‘enabled’ 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:20 Wdca_AdminFormRenderer->_create_checkbox()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:54

Wdca_AdminFormRenderer->create_enabled_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Illegal string offset ‘live_mode’ 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:20 Wdca_AdminFormRenderer->_create_checkbox()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:58

Wdca_AdminFormRenderer->create_live_mode_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Illegal string offset ‘predefined_before_first_p’ 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:20 Wdca_AdminFormRenderer->_create_checkbox()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:129

Wdca_AdminFormRenderer->create_predefined_positions_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Illegal string offset ‘predefined_halfway_through’ 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:20 Wdca_AdminFormRenderer->_create_checkbox()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:135

Wdca_AdminFormRenderer->create_predefined_positions_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Illegal string offset ‘predefined_after_last_p’ 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:20 Wdca_AdminFormRenderer->_create_checkbox()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:141

Wdca_AdminFormRenderer->create_predefined_positions_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Illegal string offset ‘predefined_ignore_other’ 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:20 Wdca_AdminFormRenderer->_create_checkbox()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:150

Wdca_AdminFormRenderer->create_predefined_positions_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Illegal string offset ‘ga_integration’ 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:20 Wdca_AdminFormRenderer->_create_checkbox()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:203

Wdca_AdminFormRenderer->create_ga_integration_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Illegal string offset ‘cpt_skip_posts’ 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:20 Wdca_AdminFormRenderer->_create_checkbox()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:253

Wdca_AdminFormRenderer->create_cpt_ads_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Illegal string offset ‘post_metabox’ 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:20 Wdca_AdminFormRenderer->_create_checkbox()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:260

Wdca_AdminFormRenderer->create_post_metabox_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Illegal string offset ‘enable_late_binding’ 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:20 Wdca_AdminFormRenderer->_create_checkbox()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:371

Wdca_AdminFormRenderer->create_lazy_loading_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Notice Undefined index: custom_post_types 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:14 Wdca_AdminFormRenderer->_get_option()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:240

Wdca_AdminFormRenderer->create_cpt_ads_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Undefined index: tag_ads 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:14 Wdca_AdminFormRenderer->_get_option()

wp-content/plugins/custom-ads/lib/class_wdca_admin_form_renderer.php:320

Wdca_AdminFormRenderer->create_tags_box()

Unknown location

do_settings_fields()

wp-admin/includes/template.php:1299

do_settings_sections()

wp-content/plugins/custom-ads/lib/forms/plugin_settings.php:7

Wdca_AdminPages->create_admin_page()

Unknown location

do_action(‘wdca_custom_ad_page_wdca’:wink:

wp-admin/admin.php:222 Plugin: custom-ads

Strict Redefining already defined constructor for class Wdca_AdminPages 1 wp-content/plugins/custom-ads/lib/class_wdca_admin_pages.php:9 wdca__init()

wp-content/plugins/custom-ads/custom-ads.php:75

wdca__init()

Unknown location

do_action(‘init’:wink:

wp-settings.php:411 Plugin: custom-ads

Non-static method Wdca_AdminPages::serve() should not be called statically 1 wp-content/plugins/custom-ads/custom-ads.php:76 Wdca_AdminPages::serve()

wp-content/plugins/custom-ads/custom-ads.php:76

wdca__init()

Unknown location

do_action(‘init’:wink:

wp-settings.php:411 Plugin: custom-ads