When I have ACF Pro activated, I still get the message:
“Please install and activate Advanced Custom Fields plugin before activating this plugin.”
And the plugin won’t activate.
Is this something that can be fixed with a one-line, hotfix sort of change (that can be changed permanently in the next version), or is it more involved to make that change? There’s another ACF Sidebar plugin on the plugins directory, but I’d rather use yours because it is newer than a few years old. Thanks!
]]>Hi there,
Your plugin doesn’t work when ACF is loaded directly in a theme or in another plugin because you are explicitly checking for it in the list of loaded plugins.
You might want to consider changing line 54 in your bootstrap file to
if (class_exists('ACF'))
That way you’re also saving yourself a call to get_option(‘active_plugins’).
Cheers and thanks for your work,
Martin