Comments (5)
What version of ACF are you using. This plugin will only work with ACF5 and can't be activated if you're using ACF4.
from acf-post2post.
Hi, I'm actually seeing the same issue. Running latest ACF Pro 5.6.10 - Any idea how to debug?
from acf-post2post.
oh, actually I just realized that I have embedded ACF into the theme instead of installed as a plugin. Will see if i can fix it.
from acf-post2post.
Sorry for spamming, so the reason why it fails is because the plugin checks for ACF on the hook 'plugins_loaded'. Replacing this with 'after_setup_theme' solves the problem.
Since embedding ACF into themes is officially supported, I would recommend to adjust this. Since it's just one line of code I hope you don't mind me not creating a pull request for this.
Line 27 acf-post2post.php:
add_action('after_setup_theme', array($this, 'plugins_loaded'));
from acf-post2post.
I altered to run on after_setup_theme. I'd like to remove this completely. Hopefully ACF5 will be released to WP soon and I can do so eventually.
from acf-post2post.
Related Issues (20)
- User/Term relationships HOT 4
- Stopped working? HOT 1
- Bi-directional post type to media / media to post type HOT 5
- post2post 1.3.2 stopped working HOT 3
- + Signs in Title HOT 2
- Add support for linking across Multisite posts HOT 1
- One to many relationship issue HOT 9
- Bi-directional relationship for all selected posts? HOT 3
- Ordering for Newly Created Relationships? HOT 1
- expand overwrite settings to allow both field name and field key
- Plugin name issue HOT 1
- Update relationship after post delete HOT 6
- Insert new relationships at the top HOT 3
- Relationship field gets emptied when using 'Preview' of a post HOT 3
- Activate the plugin only for specific field HOT 2
- Reciprocal relationships not set when creating post through API or webhook. HOT 1
- dont quite understand this plugin HOT 2
- ACF upgraded to v6 HOT 1
- Relationship field setup question HOT 17
- Bidirectional Fields ACF Extended HOT 1
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-post2post.