I’m working on a new website for a client, today I found out that ACF completely breaks editor functionality if I insert a relationship field, I tried with link to page and post object fields (even though I just need link to page)
It may be related to a timeout issue with JS? This site has 1200+ articles.
Sorry for my bad english
Hi and thanks for your support!
I tried the master version you linked on a test installation, it seems to work! I’ve tested with WP 3.6.1 and 3.7, even inside a repeater field.
I only had a minor issue regarding php memory size, solved with php.ini, I don’t think it’s related to the plugin though.
I have another question now: will the master version get updates? I’m asking since I need to use it on a live installation.
Thank you again for your kind support!
When the real 4.3 gets released via wordpress.org, your website will not notify you of the update as the versions will be the same.
What you can do to work around this, is edit the main acf.php file and on line 6, change 4.3.0 to 4.2.9
Then, when the real 4.3 gets released you will be notified of the update!
This issue is not solved..
the problem happened after we cloned the site to another server.
1. first it was existent only for some users -my admin user was working. This explains why, in other threads on the topic, there was a note that the developers could not recreate the problem.
3. error from firebug console is:
ReferenceError: wp is not defined
4. Disabling plugins showed that the only plugin on the site that generated this error was Advanced Custom Fields: Repeater Field.
However, we rely very much on this plugin so disabling it is not an option..
5. We have updated to the ACF master described in this post – and the error is still there..
We really hope that you can put high priority on this issue as this product is no longer working.
Okydokey, thanks for the info.
Step 1, can you edit the acf.php file on line 473 (of the github master version) and remove the .min from the JS file.
Now refresh the page which shows the error. Can you now get an exact line number from which the error occurs?
Thanks for getting on this 🙂
Same line as hedgehog:
ReferenceError: reference to undefined property this._frameWidth
We are using default settings for WYSIWYG
We have not set any custom caps, however we are using Woocommerce – which does, i think.
If you have problems recreating the issue – this was my case also. Other admin users of the site reported the problem, but my user did not have any issues – so I did not believe them … until I created a new admin user and logged in as that guy – then I saw that they where telling the truth..
Now after using CCleaner to clear everything – my user is also gets the error.
1. we have a repeater field that has a post obj field as a sub field.
2. we have tested it with Woocommerce’s ‘products’ as post object.
3. we have tested it with a personal created CTP called Deals as post object.
4. Happened on the woo single product
5. happened on another single CTP as well (when testing if this was woo related)
6. Problem does not occur when repeater field is disabled..
Possible workaround is to use relationship field instead of repeater field.
I’m having exactly the same problem.
My problem appears on the option page where I have repeater fields.
One for images, one for taxonomies and one for post objects.
I am using:
Advanced Custom Fields Version 4.3.0
Advanced Custom Fields: Options Page Version 1.2.0
Advanced Custom Fields: Repeater Field Version 1.1.0
TinyMCE Advanced Version 3.5.9
WPML CMS Nav Version 1.4
WPML Multilingual CMS Version 2.9.3
WPML String Translation Version 1.9
Strangely I don’t have this problem if I am running the site on my local server but now that I have migrated to my online server, my options page completely crashes.
The problematic line:
var t = wp.media.view.AttachmentCompat.prototype;
(wp is not defined)
Thanks in advance for your help.
It seems something like that Elliot.
How do you propose to solve this?
Create an event listener for wp and only after wp has been loaded execute this command?
I havent dig deep enough in your plugin so I am not really sure how it is working and when this input.min.js is called, so any help you can provide would be great.
Hi, reporting news
I updated repeater field to latest version and now my site is not showing the repeaters.
Notice: Undefined index: row in /home/****/wp-content/plugins/acf-master/core/api.php on line 629
EDIT: Solved reverting to official ACF plugin.
Wordpress 3.7.1 ACF 4.3.0 and repeater field 1.1.0
Still getting the error on live server, works on test server, the sites are perfect copy of each other.. 😐
ReferenceError: wp is not defined http://***/wp-content/plugins/acf-master/js/input.js?ver=4.3.0 Line 13
I’m not able to reproduce this JS error on my testing site (on a server). Can someone please email me or post here some login details to see the erro myself?
I believe there is a outside variable which is triggering this error, which is not part of my instal.
The topic ‘ReferenceError: wp is not defined in input.min.js’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.