Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. JS error in laytheme-3dlogo plugin (v1.0.1) — erratic loading progress, throws error on every page load

JS error in laytheme-3dlogo plugin (v1.0.1) — erratic loading progress, throws error on every page load

Scheduled Pinned Locked Moved Bug Reports
4 Posts 2 Posters 255 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    E
    egorkraft
    wrote on last edited by
    #1

    Theme: Lay Theme, v11.5.6
    Plugin: laytheme-3dlogo, v1.0.1
    On every homepage load, the browser console shows the 3dlogo plugin script logging a "% loaded" progress value that behaves erratically — instead of counting up to 100%, it jumps unpredictably and overshoots well past 100% (observed values include 235%, 393%, and 504.86%), then always ends with the message "An error happened" logged from the same script (3dlogo.plugin.min.js, around line 3823, column ~97469).
    Steps to reproduce:

    Open kraft.studio in a browser with DevTools console open.
    Reload the homepage.
    Observe the 3dlogo.plugin.min.js log a series of "% loaded" messages that exceed 100%, followed by "An error happened."

    This happened consistently across multiple reloads. I've since deactivated the plugin as a workaround since it wasn't in active use on the site, which stops the error, but I'd like to understand what's causing it and whether it's a known issue in v1.0.1.

    1 Reply Last reply
    0
    • arminunruhA
      arminunruhA
      arminunruh
      Global Moderator
      wrote on last edited by arminunruh
      #2

      hey @egorkraft, thanks for the detailed report! the values above 100% come from the loader progress callback relying on an unreliable content-length value. they don’t necessarily mean that the model is loaded multiple times.

      Does the 3D logo actually show up?

      1 Reply Last reply
      0
      • E
        E
        egorkraft
        wrote on last edited by
        #3

        hey @arminunruh I didn't have any model loaded, but had the plugin activated. which caused flash rendering a white rectangular on every page load. its gone since I activated the plugin, not sure if the issue would persist should I have model loaded. I can test it for you if it helps.

        1 Reply Last reply
        0
        • arminunruhA
          arminunruhA
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          ah its ok! have a nice day

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Online Users
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search