Business Hours

This topic contains 17 replies, has 5 voices, and was last updated by  Stiofan O’Connor 7 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #256854

    Mark Kingsley-Monks
    Full Member
    Post count: 163

    Hi

    Business Hours seems to have stopped working.

    I can see the fields when I go to create a place and I can add data to the listing but it doesn’t appear when I preview it.

    Kind regards

    Mark

    #256936

    Paolo
    Site Admin
    Post count: 31206

    Please contact the vendor via his support system: http://sfcplugins.com/contact-us/

    Thank you,

    #257089

    Jeff
    Buyer
    Post count: 188

    Hi Mark:

    As Paolo suggest, please contact me directly.

    That said, a plugin or other code doesn’t just “stop working” without some external change. Did you change your theme recently?

    Jeff

    #259293

    Dirk
    Full Member
    Post count: 390

    Hi Jeff,

    Also for me it stopped working right after the update of GD. So “internal things” changed!

    Dirk

    #259301

    Jeff
    Buyer
    Post count: 188

    What theme are you guys using?

    #259339

    Jeff
    Buyer
    Post count: 188

    Ok, I found the problem.

    Stiofan, Paolo, it’s a bug introduced in the latest version.

    In plugins/geodirectory/geodirectory-functions/custom_fields_functions.php at line 1403, the value of $html_var is set to ” (nothing), later it’s used to call an action and a filter, but still has a ” value.

    Previously (1.6.5) the value was set inside each CASE statement as $html_var = $type[‘htmlvar_name’];

    Without this, none of the filters can run.

    #259481

    Mark Kingsley-Monks
    Full Member
    Post count: 163
    This reply has been marked as private.
    #259714

    Paolo
    Site Admin
    Post count: 31206

    Stiofan is alerted, he’ll let us know asap.

    Thank you

    #260014

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You can find the fixed file here: https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory-functions/custom_fields_functions.php

    Or i will likely release a ver later today to resolve this.

    Thanks,

    Stiofan

    #260024

    Mark Kingsley-Monks
    Full Member
    Post count: 163
    This reply has been marked as private.
    #266270

    Mark Kingsley-Monks
    Full Member
    Post count: 163
    This reply has been marked as private.
    #266892

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Mark, yes you should update core GD.

    Thanks,

    Stiofan

    #272669

    Mark Kingsley-Monks
    Full Member
    Post count: 163

    Hi Stiofan,

    Still not working.

    Cheers

    Mark

    #272672

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please provide wp-admin details and i will take a look.

    Thanks,

    Stiofan

    #272675

    Mark Kingsley-Monks
    Full Member
    Post count: 163
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 18 total)

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

Open Support Ticket