Digging into “$(…).tipTip is not a function” error
What I searched for
"Uncaught TypeError: $(...).tipTip is not a function" Beaver Builder
Why I searched for it
When I was trying to load Beaver Builder’s settings page in the WordPress backend, I was getting this error in Chrome’s Javascript Console, thrown by line 58 in /bb-plugin/js/fl-builder-admin-settings.js
(the line in question: $( '.fl-settings-form .dashicons-editor-help' ).tipTip();
). The page wasn’t rendering. I (wrongly) assumed that the Javascript error was the culprit.
What I learned
The Javascript error was a symptom, not the cause. The cause was that the page’s source code wasn’t loading before the server reached PHP’s memory limit, which means that the Javascript containing the tipTip definition (/bb-plugin/js/jquery.tiptip.min.js
) wasn’t being requested (it’s enqueued to load in the footer).
I still need to figure out why the page is so resource-intensive, but I was able to verify that increasing the PHP memory limit did let the page finish loading, including the TipTip plugin.
Hello Sarah.
Just a note to say this issue is resolved in Beaver Builder 2.2.1 which is being released today.
Delighted to hear it, Simon, and thanks for the update!