Avada Compatibility Bug

This topic contains 3 replies, has 3 voices, and was last updated by  Paolo 9 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #25141

    danbergan
    Buyer
    Post count: 21

    PHP Parse error: syntax error, unexpected ‘{‘ in /var/www/vhosts/my-gd-site.com/httpdocs/wp-content/plugins/geodir_avada_compatibility/geodir_avada_compatibility.php on line 172

    // FUNCTION TO ADD HOME TOP SECTION INTO AVADA SLIDER AREA
    function avada_gd_home_top_content() {
    if( geodir_is_page(‘location’) || ( is_front_page() && get_option(‘geodir_set_as_home’) && !$_GET[‘geodir_signup’] ) {
    geodir_action_geodir_sidebar_home_top();
    }

    }

    It looks like it is missing a closing parenthesis. Should be:

    // FUNCTION TO ADD HOME TOP SECTION INTO AVADA SLIDER AREA
    function avada_gd_home_top_content() {
    if( geodir_is_page(‘location’) || ( is_front_page() && get_option(‘geodir_set_as_home’) && !$_GET[‘geodir_signup’] ) ) {
    geodir_action_geodir_sidebar_home_top();
    }

    }

    #25150

    Guust
    Moderator
    Post count: 29970

    I think that has been reported already:
    https://wpgeodirectory.com/support/topic/home-page-top-widget-area-just-stopped-working/#post-25077

    I’ll check with Paolo if the plugin is being fixed for an update.

    #25264

    Paolo
    Site Admin
    Post count: 31206

    Stiofan updated this yesterday.
    You should update to v 2.0.2
    Thx

    #25269

    Paolo
    Site Admin
    Post count: 31206

    You should update the child theme too.
    Let us know if you find anything else.
    Thx

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket