4.0.6 Commented out code information creates empty paragraphs

Home Forums Welcome! Pre-Sales Questions 4.0.6 Commented out code information creates empty paragraphs

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1080173
    Rob
    Participant

    Hello.

    We updated to 4.0.6 and our single-event.php is displaying poorly. All of the comments in the code are displaying as empty paragraphs. This added p-tags between each piece of info and elongates the page.

    Here is pre-update: http://ray.redpupmedia.com/events/
    Here is post-update: https://doorpostsongs.com/events/

    Thanks

    #1080316
    Brian
    Member

    Hi,

    Sorry for the issues you are having.

    We are not sure what changed, but it appears this issue is coming from a conflict with Beautiful Math Module of JetPack.

    If you disable that module does it fix the issues?

    On my testing site if turn on the module I see the issue you are having and if I turn it off it goes away.

    Let me know if that helps.

    Thanks

    #1080950
    Rob
    Participant

    Thanks Brian.

    We are not using Jetpack or any Math related plugins.

    Are you able to isolate the issues with that plugin? That might yield insight to our issue.

    Thanks

    #1081132
    Brian
    Member

    I think I found the issue.

    It was due to a change to make it more compatible with other plugins and themes, instead it backfired.

    So to resolve this for now please copy the contents of this:

    https://raw.githubusercontent.com/moderntribe/the-events-calendar/89d4fa6487e39b233a774c4005f1be57da635e61/src/Tribe/Templates.php

    to this file here on your site:

    plugins/the-events-calendar/src/Tribe/Templates.php

    That should then resolve it.

    Let me know if that works for you.

    Thanks

    #1081314
    Rob
    Participant

    This fixed it. Thanks!

    Will this be part of the next update? Do you need any additional info to assist with compatibility?

    #1081336
    Brian
    Member

    Glad it helps.

    This will be apart of the next update.

    We are good from here as we know the cause now.

    Also, in the future this is the the pre-sales forum and for the most part we do not provide technical support. So please if you no longer have a premium account I would ask that you take any technical support questions across to our wordpress.org forum – our staff scan it periodically and other community members may also be able to help out.

    The Events Calendar

    Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘4.0.6 Commented out code information creates empty paragraphs’ is closed to new replies.