Comments (6)
I'm also having this problem:
Wordpress 4.0.1
mqtranslate 2.8
ACF Pro 5.1.3
I'm using a qtranslate ACF field. If I click a language selector and enter some text, click 'update', the 'saving' indicator displays, and eventually the error message 'Connection lost...'
Turning on WP_DEBUG, I see:
`Notice: Undefined index: js in [...]/wp/wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 40
Notice: Undefined index: js in [...]/wp/wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 41
Notice: Undefined index: qtrans_hook_on_tinyMCE in [...]/wp/wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 46
Notice: Undefined index: qtrans_hook_on_tinyMCE in [...]/wp/wp-content/plugins/acf-qtranslate/acf-qtranslate.php on line 47`
from acf-qtranslate.
I'm having a very similar problem too, and I must admit I'm quite desperate about it :(.
Basically, after clicking on any language tab for of a custom field (text, textarea, etc…), if I click on the "Update" button, then the spinner image appears but it gets stuck forever like that, with the page never updating.
I'm getting the problem both with mqtranslate and qtranslateplus.
With qtranslate plus I'm not getting the debug notices though
Wordpress 4.0.1
qtranslate Plus 2.8 / mqTranslate 2.9
ACF Pro 5.1.4
from acf-qtranslate.
Hello, I'm having similar issues here. Is there any workaround for this? Thank you very much!
from acf-qtranslate.
I've got the same problem. Looking at the network console, the validation is initially being called multiple times (once per language?), which seems to result in an infinite series of calls to admin-ajax.php
(with the acf/validate_save_post
parameter).
As others have noted, this only happens when I change languages before submitting (I can change the value for the default language and submit without an issue).
In my particular case, I'm not using WYSIWYG fields, and I've found if I comment out the acf.do_action('ready', parent.parents('.acf-field'));
line in v5/assets/input.js
, things work as expected. It stops WYSIWYG fields working, but that's not currently a problem for me.
I'm using the latest ACF pro (v5.1.5), ACF qTranslate (v1.4), mqTranslate (v2.9.1.2) and WordPress (v4.1). Happy to help with further investigation, as I expect I'll be using WYSIWYG fields soon enough.
from acf-qtranslate.
Wanted to mention, I was only able to get this to work by commenting ALL WYSIWYG related code, so basically everything below line 31: https://github.com/funkjedi/acf-qtranslate/blob/master/v5/assets/input.js#L31-L370
Obviously not ideal but I am in the lucky situation of also not requiring WYSIWYG fields at this stage, but would really love to find a solution to this eventually. Find it a bit strange this is occurring as I don't even have any WYSIWYG fields on this page anyhow.
ACF Pro 5.1.8
ACF qTranslate 1.4
mqTranslate 2.9.1.2
from acf-qtranslate.
These issues have been cleared up in the latest version.
from acf-qtranslate.
Related Issues (20)
- ACF Custom menu link not working for two language.
- ACFPRO 5.7.0 Compatibility Issues HOT 2
- ACF 5.7.x compatibility ? HOT 7
- ACF 5.7.X compability HOT 2
- File field in v1.7.24 only shows images HOT 7
- Please add "(qtranslate)" info to field label HOT 3
- Hiding alternative content not working with ACF custom fields HOT 1
- jQuery 1.12.4 default WP vs 3.x
- Image field switches from "Image URL" to "Image array" after v4 to v5 upgrade
- How to search acf qtranslate fields? HOT 2
- acf-text-field maxlength check failing
- WP v5.1.1 tinymce error
- Media Library dont show thumbnails HOT 4
- Media Library Not Loading in Grid View HOT 7
- ACF WYSIWG editor removes paragraphs HOT 9
- The plugin does not work with Wordpress 5.3 HOT 7
- WP Media Library broken ACF Version 5.8.7 HOT 3
- jQuery conflict when using qTranslate Wysiwyg field
- Swith language without reload page
- acf-qtraslate for wordpress 5.8.1 versions.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acf-qtranslate.