Archived topic
PAGE HEADERS> CONTENT options toggle buttons broken
3 replies · Started by Owen on May 17, 2018
I'm early into a project converting a site from Avada Theme and Visual Composer to Generate Press and Elementor.
When I try to use PAGE HEADERS> CONTENT, the toggle button options mostly don't work, and are generating javascript errors (seen in the console, and below)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
jquery.js?ver=1.12.4:2 Uncaught RangeError: Maximum call stack size exceeded
at Function.grep (jquery.js?ver=1.12.4:2)
at Function.n.filter (jquery.js?ver=1.12.4:2)
at jQuery.fn.init.n.fn.(/optionsoracle/wp-admin/anonymous function) [as parents] (https://mydevsite/wp-includes/js/jquery/jquery.js?ver=1.12.4:2:27078)
at HTMLInputElement.<anonymous> (lc_switch.js?ver=1.6.2:60)
at Function.each (jquery.js?ver=1.12.4:2)
at jQuery.fn.init.each (jquery.js?ver=1.12.4:2)
at jQuery.fn.init.$.fn.lcs_off (lc_switch.js?ver=1.6.2:59)
at HTMLInputElement.<anonymous> (lc_switch.js?ver=1.6.2:143)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3)
grep @ jquery.js?ver=1.12.4:2
n.filter @ jquery.js?ver=1.12.4:2
n.fn.(anonymous function) @ jquery.js?ver=1.12.4:2
(anonymous) @ lc_switch.js?ver=1.6.2:60
each @ jquery.js?ver=1.12.4:2
each @ jquery.js?ver=1.12.4:2
$.fn.lcs_off @ lc_switch.js?ver=1.6.2:59
(anonymous) @ lc_switch.js?ver=1.6.2:143
dispatch @ jquery.js?ver=1.12.4:3
r.handle @ jquery.js?ver=1.12.4:3
trigger @ jquery.js?ver=1.12.4:3
jQuery.event.trigger @ jquery-migrate.js?ver=1.4.1:633
(anonymous) @ jquery.js?ver=1.12.4:3
each @ jquery.js?ver=1.12.4:2
each @ jquery.js?ver=1.12.4:2
trigger @ jquery.js?ver=1.12.4:3
set @ tinytools.toggleswitch.min.js?ver=4.9.5:1
prop @ jquery.js?ver=1.12.4:4
Y @ jquery.js?ver=1.12.4:3
prop @ jquery.js?ver=1.12.4:4
(anonymous) @ lc_switch.js?ver=1.6.2:63
each @ jquery.js?ver=1.12.4:2
each @ jquery.js?ver=1.12.4:2
$.fn.lcs_off @ lc_switch.js?ver=1.6.2:59
(anonymous) @ lc_switch.js?ver=1.6.2:143
dispatch @ jquery.js?ver=1.12.4:3
r.handle @ jquery.js?ver=1.12.4:3
trigger @ jquery.js?ver=1.12.4:3
jQuery.event.trigger @ jquery-migrate.js?ver=1.4.1:633
(anonymous) @ jquery.js?ver=1.12.4:3
each @ jquery.js?ver=1.12.4:2
each @ jquery.js?ver=1.12.4:2
trigger @ jquery.js?ver=1.12.4:3
set @ tinytools.toggleswitch.min.js?ver=4.9.5:1
prop @ jquery.js?ver=1.12.4:4
Y @ jquery.js?ver=1.12.4:3
prop @ jquery.js?ver=1.12.4:4
(anonymous) @ lc_switch.js?ver=1.6.2:63
each @ jquery.js?ver=1.12.4:2
each @ jquery.js?ver=1.12.4:2
$.fn.lcs_off @ lc_switch.js?ver=1.6.2:59
(anonymous) @ lc_switch.js?ver=1.6.2:143
dispatch @ jquery.js?ver=1.12.4:3
r.handle @ jquery.js?ver=1.12.4:3
trigger @ jquery.js?ver=1.12.4:3
jQuery.event.trigger @ jquery-migrate.js?ver=1.4.1:633
(anonymous) @ jquery.js?ver=1.12.4:3
each @ jquery.js?ver=1.12.4:2
each @ jquery.js?ver=1.12.4:2
trigger @ jquery.js?ver=1.12.4:3
set @ tinytools.toggleswitch.min.js?ver=4.9.5:1
prop @ jquery.js?ver=1.12.4:4
Y @ jquery.js?ver=1.12.4:3
prop
Hi there,
Can you try #1 here to eliminate plugin conflicts first?
https://docs.generatepress.com/article/debugging-tips/
Let me know :)
Thanks Leo,
You nailed it. The problem is a plugin called "WP Fan Machine 2 PRO". Deactivating it solves this issue. I apologize, I should have tried this first, especially considering that so much of this job is simply about "cleaning up" this site of all the garbage that was used.
No problem!