Home › Forums › Add-ons › Repeater Field › (again) Uncaught ReferenceError: wp is not defined
This is a Major issue that has not been solved since August.
We repeat it because it render ACF repeater fields that contains post objects useless, and thus should be given priority critical.
The issue is related to the repeater field. There are several posts here that describes this serious bug.
We are using wp 7.1 and ACF 4.3.0
Same Bug is reported here (first is marked solved, but this is not true):
http://support.advancedcustomfields.com/forums/topic/another-referenceerror-wp-is-not-defined/
http://support.advancedcustomfields.com/forums/topic/uncaught-referenceerror-wp-is-not-defined/
Please give priority to this.
Best Regards,
BK
We managed to get our client’s site working again by
1. changing the the repeater field containing a post object to a relationship field instead.
Hope this gives a hint to others with the same problem
Hi guys
Thanks for the feedback I’ll do some testing with the repeater field and find out what’s going on.
Thanks
E
Hi,
I had this same problem (can’t add filles, dont show visual editr), but in my case solution was easy.
Please check your footer code:
<? wp_footer(); ?>
or if you use custom template
<?php get_footer(); ?>
I use the same version of WordPress and ACF
Meyby this is solution for this problem.
If you need, my all code:`/* Template Name: Dodawanie zlecenia */ ?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<?php acf_form_head(); wp_head(); ?>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Nowe zamówienie – Drukarnia DPI</title>
<META NAME=”ROBOTS” CONTENT=”NOINDEX, NOFOLLOW”>
<link href=”<?php bloginfo('stylesheet_directory'); ?>/css/logowanie.css” rel=”stylesheet” type=”text/css” />
<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700,400italic' rel='stylesheet' type='text/css'>
<?php
$args = array(
'post_id' => 'new',
'field_groups' => array( 204 ),
'submit_value' => 'Realizuj'
);
?>
</head>
<body>
<?php acf_form( $args ); wp_footer(); ?>
</body>
</html>`
Sorry for my english.
If i’m just stupid and only I forget about footer sorry for hopes.
In my country now is middle of night
The topic ‘(again) Uncaught ReferenceError: wp is not defined’ 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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.