Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Resolved] PAGE HEADERS> CONTENT options toggle buttons broken

Home Forums Support [Resolved] PAGE HEADERS> CONTENT options toggle buttons broken

Home Forums Support PAGE HEADERS> CONTENT options toggle buttons broken

  • This topic has 3 replies, 2 voices, and was last updated 3 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #578485
    Owen

    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

    GeneratePress 2.1.2
    GP Premium 1.6.2
    #578509
    Leo
    Staff
    Customer Support

    Hi there,

    Can you try #1 here to eliminate plugin conflicts first?
    https://docs.generatepress.com/article/debugging-tips/

    Let me know 🙂

    #578559
    Owen

    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.

    #578956
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.