Edit with Wpbakery not working after Wordpress update - wordpress

I am in big trouble and I am losing my mind. I had to update wordpress, because woocommerce said I can't create variable products anymore. I did and then I noticed that Wp bakery is not working. It loads forever.
I read some topics and tried disabling guttenberg and installing classic editor. It didn't help..
Now the crazy part is that I exported project with all in one migration plugin to other server and it works... It takes a while but it works. How the hell it's possible ?
I still need to fix it and I am getting console error
Uncaught TypeError: window.vc.frame_window.jQuery is not a function
buildFromContent https://shop.marmoarc.com/wp-content/plugins/js_composer/assets/js/dist/frontend-editor.min.js?ver=6.2.0:10
build https://shop.marmoarc.com/wp-content/plugins/js_composer/assets/js/dist/frontend-editor.min.js?ver=6.2.0:10
https://shop.marmoarc.com/wp-content/plugins/js_composer/assets/js/dist/frontend-editor.min.js?ver=6.2.0:10
I really don't understand this stuff and already losing hair(okay I was losing regardless). Please help. :(

Here's what I did, it fixes the issue but can cause certain other issues. For example my page banner doesnt load the first time a user visits the site, but will load every other time.
Get a plugin called Enable jQuery Migrate Helper. It seems to be the only thing that fixes the issue above that you've mentioned.
It will allow you to edit WPbakery elements, but like I said, it may cause other little issues like the aforementioned one above. Of course, if you're not using custom code, this could be the fix you're looking for. Cheers, and good luck.

Related

Isotope has a broken layout on wordpress but works on another test page

I'm working on a wordpress webpage, most of the page is built with worpress tools, but I made this page with custom code cause we couldn't find a better solution to filtering items without reloading the whole page.
https://latequebate.com/tienda/
Here's the webpage upload outside of wordpress
https://pruebaslate.000webhostapp.com/
The problem is that on wordpress it's broken on the first load, if I click on something or resize the windows it works fine.
Bare in mind this is a WIP and for now only the two first options do something on the second filter and only the first of the second one shows cards.
I found the reason why it wasn't working, autooptimize plug-in was doing some funny things, sometimes there's more to it than just clearing caches, disabling and enabling it solved the problem. Unchecking or checking some options also helps.
WP-Coder plug-in sometimes needs the JS in the HTML part instead of linking CDN options since that affects the order in which code is executed.
This may not be the answer but hard to format this in comments.
You have a JS error that's occurring on the Wordpress page that isn't occurring on the non-Wordpress page. Don't know if it's related or not, I didn't dig that deep but the HTMLDocument.onReady sounds pretty suspicious.
Uncaught TypeError: e.indexOf is not a function
at k.fn.init.k.fn.load (jquery.min.js:2)
at e (ce71c.js:94)
at Object.logo (ce71c.js:94)
at Object.init (ce71c.js:94)
at HTMLDocument.onReady (ce71c.js:94)
at e (jquery.min.js:2)
at t (jquery.min.js:2)

Auto save my edits

I have only been able to find 1 add-on for autosaving/draft-save.
The problem is that if the browser crashes while you are editing content of a page, or created a new page, that changes will be lost. And it's not always, that one will remember to save manually.
The add-on I found and installed is: plone.app.drafts
I installed it using buildout, and activated it in the add-on. Though it doesn't seem to be working for me. Has anyone managed to make it work? To test it I crashed the browser (and also just closed the browser while editing), and according to the documentation for this add-on, the saved content should be in portal_drafts. But there is nothing there.
I followed this document.
Stackoverflow has the best auto save future EVER. It would be nice with such, but just a normal auto save will do fine.
Are there other plone fans out there that have managed to overcome this hurdle? Like found a nice add-on to help out?
do you want to auto-save input in richtextfields (tinymce) or all fields?
for tinymce there is a plugin you could try to add:
https://pypi.python.org/pypi/zopyx.tinymceplugins.tinyautosave/1.0.1

Installing a new, custom theme has "broke" current Wordpress installation

I've just finished creating a new custom theme based on the underscores framework, and It's ended up breaking my current wordpress installation after applying it.
Although everything is running fine on the front end, the back end is running really weird.
The following issues have presented themselves:
Trying to add a new post (either regular, or one of the new custom post types I've defined) just results in a blank page. Although the post has been created, the admin section gets stuck on the wp-admin/post.php page.
My media library no longer shows up in the media browser. Although all 6,000+ images are still there, none show up.
When logged in, it takes ages for the page to load in the Wordpress admin bar, as it appears it can no longer display the site stats (it just shows the broken image icon after it's finally finished loading in, when the new theme is selected).
I've tried to refresh the permalinks, but this hasn't worked.
Any ideas? I was hoping to re-launch my website today, but it looks like I might have to put it on hold...
Get ahold of the devs for your framework. Your experience is not an uncommon one. It has happened to my sites several times. Unless you want to tweak the php yourself, they will have to help you.
Managed to sort this out. Turns out a function I had written to add a custom field to menu items broke the entire back end. Thanks for the help everyone!

Buddypress - Adding friends breaks layout

I am pretty new to Buddypress (this is my first install) and not so new to WP. I have a custom theme with Buddypress installed and all works great with the exception of adding/canceling friend requests. Whenever someone hits Add/Cancel Friend then for some reason it breaks the layout of the page by displaying what looks like a iframe of our site.
I have looked around the forums and google to see if I maybe forgot to add something in my theme but cant get it right.
The only way I have been able to (temporarily) fix this is by display:none on the .pending_friend selector but I know it will still display in the markup and is not the best solution.
Has anyone encountered this yet, or can suggest a fix? I feel like it is probably something really simple and my over complicated thought process just isnt seeing it.
Attached is a screen shot of what happens when you add/cancel friends??
Help
Found out the starter theme I was using had deregistered the default version of JQuery to load its own, so after troubleshooting I just removed their call to deregister and enqueue scripts and just let Wordpress do its thing, all is working perfectly now.

Woocommerce wishlist plugin breaking cookies/cache?

I am working on a woocommerce site right now. I have a plugin for the wishlist that I purchased from Code Canyone here - http://codecanyon.net/item/dvin-woocommerce-wishlist-wp-plugin/1995206
The issue is that when I activate the wishlist plugin I'm no longer able to add multiple items to the cart. It feels like the plugin is breaking the cachce or cookies in some way, and causing it to reset every time you click "add to cart"
I have found that even upon uploading and running without a modified theme or modified plugin in any way that it still doesn't work. I have looked online, but no one else is seeming to have this problem. So it must be me?
I don't get any errors regarding the cache or plugin with debug mode on. (I do get tons of errors for cForms, though. not sure why, but that's another post).
Take a look - http://www.shultzilla.com/admin/shop/sample-product/
Has anyone run into this issue before? Is this a symptom of a specific issue? I have no idea why this would only be happening to me and no one else.
If I deactivate the plugin it works fine, so I'm pretty sure it's something up with this plugin. I've tried to reach out to the developer, but I haven't heard back from him, and Code Canyon says they're not responsible.
Thanks in advance for your help, y'all!
I managed to get ahold of the developer.
Turns out there was a session_start() function that was being called in two files.
He's fixed the issue and it now works.

Resources