• boomtime

    (@wpboomtimecom)


    In the latest version of the plugin, the default page server isn’t set on line 288 in UBConfig.php. Until I edited this line, the plugin wouldn’t fetch any of our published Unbounce landing pages. Change:

    $ps_domain = $options_getter(UBConfig::UB_PAGE_SERVER_DOMAIN_KEY);

    to:

    $ps_domain = $options_getter(UBConfig::UB_PAGE_SERVER_DOMAIN_KEY, UBConfig::default_page_server_domain());

    Without this change the call to UBConfig::fetch_proxyable_url_set() fails as it doesn’t know where the page server is.

    https://www.ads-software.com/plugins/unbounce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Unbounce

    (@unbouncewordpress)

    Thank you for reaching out and your suggestion, we are currently investigating a fix for this problem and will update this thread once the fix is implemented.

    Thread Starter boomtime

    (@wpboomtimecom)

    To be fair, I should mention that we’re running wordpress multisite and the plugin was never activated at the network level, only on individual sites. So it’s probably an edge case.

    It’s possible that not activating the plugin (even just once) at the network level didn’t put options out there with add_site_option().

    Either way, checking for the default in this line prevents this issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in UBConfig::_read_unbounce_domain_info()’ is closed to new replies.