• Resolved avizzino

    (@avizzino)


    Hello support team,

    The function “onepress_breadcrumb” is declared in onepress/inc/template-tags.php without checking if it’s already declared.

    When creating an override of it in my child theme functions.php, the site crashes. I have now modified it manually by encapsulating the function in if ( ! function_exists( 'onepress_breadcrumb' ) ){}.

    Please fix.

    Thanks,
    Antonio

    • This topic was modified 3 years, 12 months ago by avizzino.
Viewing 1 replies (of 1 total)
  • Hi,

    Thank you for your reporting.

    I’ve informed the development team to add the code to check this function before declaring it.

Viewing 1 replies (of 1 total)
  • The topic ‘Fix for function onepress_breadcrumb’ is closed to new replies.