3D FlipBook - Uncaught TypeError: Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLShader'

b***h@gmail.com
2021-04-05
2021-04-05

Hi all,

I'm getting the following javascript error after updating the plugin to the last version. I am in Chrome. The PDF books don´t show in the website:

Uncaught TypeError: Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLShader'. at uh (three.min.js?ver=108:62) at new Mj (three.min.js?ver=108:81) at Oj.acquireProgram (three.min.js?ver=108:92) at k (three.min.js?ver=108:179) at r (three.min.js?ver=108:182) at dg.renderBufferDirect (three.min.js?ver=108:207) at p (three.min.js?ver=108:177) at m (three.min.js?ver=108:177) at dg.render (three.min.js?ver=108:215) at VisualWorld.render (3d-flip-book.min.js?ver=1.10.21:1)

Example URL where the book is not showing:

https://www.beselch.com/proyectos/kino-ait-idrissen-y-beselch-rodriguez/

Thanks!

Replies

a***r@3dflipbook.net
2021-04-05
2021-04-05

could you check thumbnail mode?

[3d-flip-book mode="thumbnail-lightbox" id="2321" title="true"][/3d-flip-book]
a***r@3dflipbook.net
2021-04-05
2021-04-05

not necessary, already checked https://www.beselch.com/proyectos/kino-ait-idrissen-y-beselch-rodriguez/#dossier-marruecos - works fine. Initialization problem, conflict with other plugin/theme. We will add option in settings for this case.

a***r@3dflipbook.net
2021-04-05
2021-04-05

update the plugin to 1.10.22 and chose in 3D FlipBook-> Settings-> General-> Plugin-> initialization: document ready

b***h@gmail.com
2021-04-05
2021-04-05

It works!

Thank you.

s***5@gmail.com
2021-04-20
2021-04-20

It works now, thank you!

a***r@3dflipbook.net
2021-04-20
2021-04-20

Yes, this is an option in settings. Only pro version has settings. You can replace client.min.js with http://3dflipbook.net/files/paths/init_from_doc_ready/client.min.js

Log In to leave a comment