• Resolved uh2112

    (@razorzz)


    Hi,
    i used this plugin for a long time and now somehow it doesn’t fully load. PDF file URL is accessible. Javascript minify etc is deactivated.

    It says “DearFlip: loading…”, nothing appears. Console says:

    Uncaught TypeError: Cannot read properties of undefined (reading 'Color')
    at ey.init (dflip.min.js?ver=2.3.57:1:110327)
    at i.value (dflip.min.js?ver=2.3.57:1:128237)
    at new i (dflip.min.js?ver=2.3.57:1:127423)
    at new e (dflip.min.js?ver=2.3.57:1:152731)
    at t.value (dflip.min.js?ver=2.3.57:1:201402)
    at new t (dflip.min.js?ver=2.3.57:1:200586)
    at new n.Application (dflip.min.js?ver=2.3.57:1:221661)
    at e..dearviewer (dflip.min.js?ver=2.3.57:1:221944)
    at n.handleLazy (dflip.min.js?ver=2.3.57:1:30614)
    at n.checkRequestQueue.n.checkRequestQueue (dflip.min.js?ver=2.3.57:1:31850)

    Thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Deepak Ghimire

    (@deip)

    Hi,

    There is a plugin that is registering THREE.js and is causing conflict.

    What is the plugin about?

    Thread Starter uh2112

    (@razorzz)

    Strange… I found out after deactivating all plugins, that apparently “Easy 3D Model Viewer” causes Dear Flip to not load. As soon as i deactivated it, the PDF works.

    How can i prevent it from interfering with dflip?

    Plugin Author Deepak Ghimire

    (@deip)

    Hi,

    As of now both plugin are not compatible due to different variants of THREE.js used by them.

    DearFlip doesn’t include THREE.js in pages where it is not used. If the other plugin also did the same, they could at least exists in pages where both are not used. Also THREE.js is a heavy library, and is better to avoid if not used.

    Best Regards,
    Deepak

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Uncaught TypeError’ is closed to new replies.