Code Monkey home page Code Monkey logo

Comments (8)

timsayshey avatar timsayshey commented on June 12, 2024

layouts.cfm hadn't been changed in years until the syntax updates ticket that @chapmandu worked on.

I reverted back the syntax updates, I can't imagine how that would cause this bug but so far I haven't seen the error again so that's promising. I just have no idea how these changes would cause this issue.

Here's the commit I reverted back from:
7dabfd4

from cfwheels.

timsayshey avatar timsayshey commented on June 12, 2024

Nevermind, it's back 🤦🏻‍♂️

from cfwheels.

timsayshey avatar timsayshey commented on June 12, 2024

@neokoenig Any ideas? Is it possible the array could be modified somewhere else concurrently which would account for why CF counts 4 items in the array on one line then on the next only counts 3?

from cfwheels.

neokoenig avatar neokoenig commented on June 12, 2024

@neokoenig Any ideas? Is it possible the array could be modified somewhere else concurrently which would account for why CF counts 4 items in the array on one line then on the next only counts 3?

Not off the top of my head, but just wondering if it is actually a "blank" layout, then you could use usesLayout(false)? (might not be of course)

from cfwheels.

timsayshey avatar timsayshey commented on June 12, 2024

Thanks Tom! Fortunately, the layout file is actually blank. It just has <cfoutput>#includeContent()#</cfoutput>.

Just updated the code in prod, praying that fixes it 🙏

from cfwheels.

timsayshey avatar timsayshey commented on June 12, 2024

@neokoenig Ugh - Similar to the last error, except now it's saying Array index [5] out of range, array size is [4]

If you look at the code, this error should not be possible. Any other ideas?

from cfwheels.

timsayshey avatar timsayshey commented on June 12, 2024

I'm going to try changing the way we loop over the layouts array. Maybe that'll help:

image

from cfwheels.

zainforbjs avatar zainforbjs commented on June 12, 2024

@timsayshey Is this issue fixed?

from cfwheels.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.