Home › Forums › WoodMart support forum › Woodmart header builder not loading
Woodmart header builder not loading
- This topic has 17 replies, 2 voices, and was last updated 6 years, 8 months ago by
Artem Temos.
-
AuthorPosts
-
September 1, 2018 at 5:17 pm #75170
refinewwParticipantHi 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
September 1, 2018 at 6:20 pm #75173
Artem TemosKeymasterHi,
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.
September 1, 2018 at 8:17 pm #75176
refinewwParticipantit 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.September 2, 2018 at 9:49 am #75203
Artem TemosKeymasterHi,
Could you please check your admin password? We can’t log in now.
September 3, 2018 at 3:20 am #75272
refinewwParticipantplease see below
September 3, 2018 at 5:47 am #75278
Artem TemosKeymasterWe see the error now. Could you please also send us your FTP access so we can troubleshoot it?
September 4, 2018 at 5:59 pm #75520
refinewwParticipantPlease see below for ftp
September 5, 2018 at 6:43 am #75543
Artem TemosKeymasterWe 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.
September 5, 2018 at 1:09 pm #75610
refinewwParticipantthis 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 toCSSTransitionGroupChild
, 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 AppConsider 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)September 5, 2018 at 1:20 pm #75617
Artem TemosKeymasterYes, 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.
September 5, 2018 at 1:57 pm #75632
refinewwParticipantok 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
September 5, 2018 at 2:34 pm #75644
Artem TemosKeymasterIt 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
September 5, 2018 at 2:49 pm #75651
refinewwParticipanti currently have all cache off but our site runs through cloudflare so i will purge there and turn on development mode
September 5, 2018 at 2:57 pm #75654
Artem TemosKeymasterThe 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.September 5, 2018 at 3:42 pm #75669
refinewwParticipantI commented that string out yet nothing changes in the header builder?
September 5, 2018 at 4:46 pm #75673
Artem TemosKeymasterClear your browser cache to see the changes. And the code is still there https://gyazo.com/32ef3141f70fbfa472a27d2c4e0ebb56
September 5, 2018 at 4:59 pm #75676
refinewwParticipantyes 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
September 5, 2018 at 7:14 pm #75688
Artem TemosKeymasterYou are welcome. Feel free to contact us when you will have questions.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register