Home Forums WoodMart support forum Woodmart header builder not loading

Woodmart header builder not loading

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #75170

    refineww
    Participant

    Hi i am experiencing the same situation where all the headers in the header builder are gone pretty much looks exactly like pbtr image. I know i did install a country selector that also uses redux but once i noticed i couldn’t modify my header to see if that was the problem but nope still the same, other then that i haven’t made any changes and disabling all my plugins is not an option. also there are no errors in the error log

    #75173

    Artem Temos
    Keymaster

    Hi,

    Please, describe to us your problems in a bit more details. Attach some screenshots and provide us with a list of steps on how to reproduce it on your website.

    Thank you in advance.

    #75176

    refineww
    Participant

    it is the same as the last person but here is the screen shot.. the only change i made on my site was the addition of a WordPress Country Selector plugin and the only link i can see with the two is the redux framework. other then that nothing has been changed on my site i can see

    Attachments:
    You must be logged in to view attached files.
    #75203

    Artem Temos
    Keymaster

    Hi,

    Could you please check your admin password? We can’t log in now.

    #75272

    refineww
    Participant

    please see below

    #75278

    Artem Temos
    Keymaster

    We see the error now. Could you please also send us your FTP access so we can troubleshoot it?

    #75520

    refineww
    Participant

    Please see below for ftp

    #75543

    Artem Temos
    Keymaster

    We see that that plugin is currently turned off but the problem persists. And there are a lot of other plugins activated. Please, disable them all for testing purposes also.

    #75610

    refineww
    Participant

    this is a live site disabling all the plugins is not an option… here are the errors we see

    builder.js?ver=4.9.8:10814 Warning: Failed prop type: Invalid prop children supplied to CSSTransitionGroupChild, expected a ReactNode.
    in CSSTransitionGroupChild (created by TransitionGroup)
    in TransitionGroup (created by CSSTransitionGroup)
    in CSSTransitionGroup (created by Notifications)
    in div (created by Notifications)
    in Notifications (created by Connect(Notifications))
    in Connect(Notifications) (created by HeaderBuilder)
    in div (created by HeaderBuilder)
    in Router (created by HashRouter)
    in HashRouter (created by HeaderBuilder)
    in HeaderBuilder (created by Connect(HeaderBuilder))
    in Connect(HeaderBuilder) (created by App)
    in Provider (created by App)
    in DragDropContextProvider (created by App)
    in App
    printWarning @ builder.js?ver=4.9.8:10814
    builder.js?ver=4.9.8:10624 Uncaught Error: React.Children.only expected to receive a single React element child.
    at invariant (builder.js?ver=4.9.8:10617)
    at Object.onlyChild [as only] (builder.js?ver=4.9.8:59359)
    at CSSTransitionGroupChild.render (builder.js?ver=4.9.8:29179)
    at finishClassComponent (builder.js?ver=4.9.8:46574)
    at updateClassComponent (builder.js?ver=4.9.8:46551)
    at beginWork (builder.js?ver=4.9.8:46926)
    at performUnitOfWork (builder.js?ver=4.9.8:48925)
    at workLoop (builder.js?ver=4.9.8:48989)
    at HTMLUnknownElement.callCallback (builder.js?ver=4.9.8:39243)
    at Object.invokeGuardedCallbackDev (builder.js?ver=4.9.8:39282)
    builder.js?ver=4.9.8:48448 The above error occurred in the <CSSTransitionGroupChild> component:
    in CSSTransitionGroupChild (created by TransitionGroup)
    in span (created by TransitionGroup)
    in TransitionGroup (created by CSSTransitionGroup)
    in CSSTransitionGroup (created by Notifications)
    in div (created by Notifications)
    in Notifications (created by Connect(Notifications))
    in Connect(Notifications) (created by HeaderBuilder)
    in div (created by HeaderBuilder)
    in Router (created by HashRouter)
    in HashRouter (created by HeaderBuilder)
    in HeaderBuilder (created by Connect(HeaderBuilder))
    in Connect(HeaderBuilder) (created by App)
    in Provider (created by App)
    in DragDropContextProvider (created by App)
    in App

    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
    logCapturedError @ builder.js?ver=4.9.8:48448
    builder.js?ver=4.9.8:49695 Uncaught Error: React.Children.only expected to receive a single React element child.
    at invariant (builder.js?ver=4.9.8:10617)
    at Object.onlyChild [as only] (builder.js?ver=4.9.8:59359)
    at CSSTransitionGroupChild.render (builder.js?ver=4.9.8:29179)
    at finishClassComponent (builder.js?ver=4.9.8:46574)
    at updateClassComponent (builder.js?ver=4.9.8:46551)
    at beginWork (builder.js?ver=4.9.8:46926)
    at performUnitOfWork (builder.js?ver=4.9.8:48925)
    at workLoop (builder.js?ver=4.9.8:48989)
    at HTMLUnknownElement.callCallback (builder.js?ver=4.9.8:39243)
    at Object.invokeGuardedCallbackDev (builder.js?ver=4.9.8:39282)

    #75617

    Artem Temos
    Keymaster

    Yes, we saw these errors. But we need to understand what plugin conflicts with our theme and the only one way to detect it is to turn them off and check.

    #75632

    refineww
    Participant

    ok we have narrowed it down to the following plugin below. when it was deactivated the header builder reappeared. we are not able to leave this plugin deactivated but hope it will help with the debugging. please let me know

    #75644

    Artem Temos
    Keymaster

    It seems that you have some kind of cache on your server and we can’t edit JS files. For example we can’t see any changes made in this file https://www.refineryworkwear.com/wp-content/plugins/wp-lister-amazon/js/classes/ProfileSelector.js

    #75651

    refineww
    Participant

    i currently have all cache off but our site runs through cloudflare so i will purge there and turn on development mode

    #75654

    Artem Temos
    Keymaster

    The problem is caused by the code in this file https://www.refineryworkwear.com/wp-content/plugins/wp-lister-amazon/js/classes/ProductMatcher.js https://gyazo.com/1988ea8032cd8429a11c0053d44a94e1
    It modifies the standard JS String object (that it shouldn’t do) and by doing this breaks our header builder scripts. You need to remove this code or ask plugin’s developer to prevent overriding of such global things in JavaScript.

    #75669

    refineww
    Participant

    I commented that string out yet nothing changes in the header builder?

    #75673

    Artem Temos
    Keymaster

    Clear your browser cache to see the changes. And the code is still there https://gyazo.com/32ef3141f70fbfa472a27d2c4e0ebb56

    #75676

    refineww
    Participant

    yes it is still there but commented out. the header builder is now working so i can proceed with the site. as i wait for a response from the other plugin vendor i will comment that code out if i need to make a change to the header.

    Thanks for finding the problem

    #75688

    Artem Temos
    Keymaster

    You are welcome. Feel free to contact us when you will have questions.

Viewing 18 posts - 1 through 18 (of 18 total)