Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #318687

    Hi

    I have an issue with the avia_breadcrumb function in the enfold theme which breaks when I try and display a post with a title of 80+ characters. The page refuses to load beyond the header as the avia_breadcrumb function does not return. I am working on a child theme, but have tested it on the parent enfold theme and get the same issue.

    If I shorten the post title it displays ok. Can you please advise on how to fix this?

    Thanks in advance

    #318977

    Hey!

    The website you posted is not loading for me, checked here too:
    http://www.downforeveryoneorjustme.com/http://sitestage.findly.com/

    Best regards,
    Josue

    #319017

    Hi Josue

    We are having intermittent 502 errors with the site. It is up again now. Could you have another look?

    Thanks

    #319018

    Hey!

    Do you have access to your PHP error log?

    Regards,
    Josue

    #319019
    This reply has been marked as private.
    #319026

    Hey!

    Try asking your server provider support to enable the mb_strimwidth PHP function (Multibyte String Functions).

    Best regards,
    Josue

    #321764

    Finally heard back from the client IT team and they advise that opening up mb_ functions can cause all kinds of different security issues. They have advised against us doing it.

    Any other suggestions or is this our only option?

    Thanks

    #321833

    Hi!

    You can edit framework > php > function-set-avia-backend.php, find the code on line 576:

    $string = mb_strimwidth($string, 0, $breakpoint) . $pad;
    

    Replace it with:

    $string = $string . $pad;
    

    I think it’s safe to change since you’re not using right to left text direction. Not sure if this is going to work but please give it a try.

    Regards,
    Ismael

    #322800

    Thanks for your help. That has solved it for me.

    Cheers

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Long post title breaks avia_breadcrumb’ is closed to new replies.