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 64 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 Offline
    E Offline
    egorkraft
    wrote 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 Online
      arminunruhA Online
      arminunruh
      Global Moderator
      wrote 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 Offline
        E Offline
        egorkraft
        wrote 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 Online
          arminunruhA Online
          arminunruh
          Global Moderator
          wrote last edited by
          #4

          ah its ok! have a nice day

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.

          Want to support my work? paypal.me/arminunruh

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

          This often solves issues you might run into

          When you post:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          F
          FloMo
          arminunruhA
          arminunruh
          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