3D FlipBook - Not loading, console error TypeError: init is not a function

d***s@hotmail.co.uk
2023-10-26
2023-11-01

Do you have suggestions for fixing this error in the browser console (Flipbook also not appearing on the page):

TypeError: init is not a function at 3d-flip-book.min.js?ver=1.15.2:1:301532

Replies

d***s@hotmail.co.uk
2023-10-30
2023-10-30

this seems to be the part of 3d-flip-book.min.js where the browser finds an error:

if (files.script[0]) { var init = eval(files.script[0].data); _this3.templateObject = init(_this3.container)

there is a variable named init and the error indicates that init is not recognized as a function when it's expected to be.

a***r@3dflipbook.net
2023-11-01
2023-11-01

Already answered to your email https://....com/wp-content/plugins/3d-flip-book/assets/js/default-book-view.js contains some extra code.

d***s@hotmail.co.uk
2023-11-01
2023-11-01

Thank you for the support. Removing the extra code fixed the flipbook. The extra code is not code that I added and am not sure how it got there.

Log In to leave a comment