Your Time:
Our Time:
← Back to discussions

Grouping hours breaks BHP when using PHP 7.1

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 7 replies, 5 voices, and was last updated 6 years, 11 months ago by Fem.

  • 2018-06-28 at 2:02 am
    Support Expired
    #23706
    danfeeley
    Participant
    • Topics: 16
    • Replies: 40
    • Total posts: 56
    • Post count: 47

    when using PHP 7.1 we get the following error in BHP when Grouping Hours is selected:

    
    Fatal error: Uncaught Error: [] operator not supported for strings in ... /wp-content/plugins/iva-business-hours-pro/iva-business-hours-pro.php on line 2299
    

    Also, in case you get this early, support should be renewed shortly, thank you.

    2018-06-28 at 11:48 am
    #23709
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Thanks for the information. We will consider a quick fix soon.

    2018-08-17 at 7:11 am
    Support Expired
    #23970
    danfeeley
    Participant
    • Topics: 16
    • Replies: 40
    • Total posts: 56
    • Post count: 47

    Hello,

    I just wanted to touch base on this and see if there was any update?

    Thanks.

    2018-08-17 at 11:24 am
    #23971
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Change $iva_time = ''; to $iva_time = array(); in file ‘iva-business-hours-pro.php’

    you will find this in line no #2264(approx)

    2018-08-18 at 12:10 am
    Support Expired
    #23995
    danfeeley
    Participant
    • Topics: 16
    • Replies: 40
    • Total posts: 56
    • Post count: 47

    It appears to be working, thank you.

    2019-04-02 at 11:15 am
    Support Expired
    #24939
    juroo
    Participant
    • Topics: 3
    • Replies: 3
    • Total posts: 6
    • Post count: 6

    Can you please fix this also in the current release (4.1.0)?
    I have modified it in my source code, but if I update the plugin, my changes will be lost again.

    2019-04-05 at 12:32 pm
    #24964
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    @juroo – I have fixed in the new version and will release it soon. You can make changes to the fix as shown in the previous answer. http://support.aivahthemes.com/forums/topic/grouping-hours-breaks-bhp-when-using-php-7-1/#post-23971

    I see your support is expired. Kindly please extend the license to avail the continues support

    2019-10-10 at 5:51 pm
    #26067
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Due to no response from the last 10 Days, we assume the problem is resolved and we consider closing this topic. If you have any further queries related to the same question then please re-open post your question here instead of opening a new topic.

The topic ‘Grouping hours breaks BHP when using PHP 7.1’ is closed to new replies.