Viewing 15 replies - 16 through 30 (of 32 total)
  • And, FYI, I updated the theme files as well to the latest version.The problem existed before that but I thought it could possibly be a conflict. The upgrade didn’t fix it.

    Plugin Contributor Elliot Condon

    (@elliotcondon)

    Have you tried switching themes? Maybe it is your theme js triggering the error…

    Plugin Contributor Elliot Condon

    (@elliotcondon)

    Hi simco,

    I didn’t mean update, I meant switching to a completely diff theme (maybe twenty eleven) to test if the theme itself is infecting js on to the edit screen and causing the error.

    Hold on a sec, seems it’s only affecting the ‘page’ editor. I just tried posts and the media button appears to work fine. So something is conflicting only with the page element of the editor.

    I switched themes to twenty eleven and the problem went away. But would it be an issue with the theme and WordPress? Or an issue with the theme and the ACF plugin?

    Plugin Contributor Elliot Condon

    (@elliotcondon)

    Its a problem between your theme and ACF.

    I believe it is running JS before the document ready event. This will cause AC to fail as it requires that event to instantiate itself.

    You should fix your theme’s JS to run on the document ready event

    Ok, so before I go back to them and tell them the problem is on their end, is what you’re saying they ‘should do’ is standard practice for WordPress themes? Or are they going to say they are doing it right and you’re doing it wrong. Hence the conflict with the plugin. Because what’s going to happen here is each party is going to point at each other. They’ll say that because it only conflicts with your plugin that it’s the plugin, not the theme. So, in order to have them ‘fix this’ they first need to be made aware that it is, specifically, their issue of non-compliance. See where I am with this? So, if what you’re describing is indeed an error on how they are executing their js then I have them by the balls. But, if not, then my balls are swinging in the wind. So can you clarify, please?

    Plugin Contributor Elliot Condon

    (@elliotcondon)

    Dear simco,

    There is not right or wrong way to write JS. However, there are standards.

    It is a standard to not run any JS before the document.ready event. This ensures all elements are loaded and all other JS is present.

    I can assume that your theme uses JS to change the page template select before the document.ready event.

    This is not good practice as we can see in this case, it is throwing an error as ACF is watching that element for a change action, but ACF has not been given a chance to instantiate it’s data property.

    A note of warning. When chatting to web developers, please put aside the attitude. There’s no need to stress or anger or this kind of language in this environment. We are all here to do what we love. Just because your pre-made theme and the ACF plugin aren’t compatible doesn’t mean you need to get all rambo.

    Just ask them nicely to make this edit. It’s pretty basic stuff.

    Plugin Contributor Elliot Condon

    (@elliotcondon)

    P.S. don’t use the work Fix. Web developers do not like this word being misused.

    In this case, this is a simple edit to allow for compatibility. It is not a bug

    I appreciate your candor and your honesty. AND, truly appreciate your quick responses. I think the frustration you read into my posts comes from the 15+ years of doing this where about 99% of the time the parties just point their fingers at each other instead of fixing the problem and guys like me get stuck in the middle. This, in turn, causes the clients on the designer’s side to get agitated when it appears nothing is happening. The normal result is simply finding another plugin OR starting over completely with a new theme which is not what I’d really like to do.

    I’ve posted the issue in their support forums. It’s a membership site and i’ve been an active member for over 2 years so hopefully they’ll just say “Hey! We see that and *tweak tweak tweak* it’s fixed!”

    Or, point me to where I can fix it myself. Either way works.

    So, apologies if it came off as ‘rambo’ but I think I was bracing myself for what is usually the inevitable. I’ll keep you posted!

    Thanks again for the quick responses!

    Unfortunately this is not resolved as reported. Exactly what I expected to happen is happening where the theme developers are pointing at you and vice versa. So, a week has gone by and nothing has happened. Hence my previous pessimistic posts based upon many experiences of this nature.

    I see other forum posts regarding similar problems that point to the ‘page_template’ causing issues. Personally I feel there’s a conflict in the plugin when it comes to multiple selections of page templates. That’s the only connection I can see and is precisely mentioned in the error message.

    I’d really like to get this resolved and it appears that it’s not only related to the themes i’m using (the other post reporting similar issues has an entirely different theme but also with various page templates to select from).

    Need your help, Elliot. Thanks

    Plugin Contributor Elliot Condon

    (@elliotcondon)

    Hi simco,

    I’m happy to help, but not sure how I can. You have a JS conflict with your theme and my ACF plugin.

    I have explained that I believe you theme is triggering a change event on the page_template select before the ACF data object is created. This causes a JS error to occur.

    Would you like to provide account details for me to have a look at your admin?

    What are the other threads relating to this issue?

    That are the other theme / plugin issues with page templates?

    Eliott, thanks for the response. I noticed this thread was referencing the page_template tag which is the same one my error message displays. Their theme is totally different than mine so it’s less possible that the theme is the issue. Here’s the thread link:

    http://wordpress.org/support/topic/plugin-advanced-custom-fields-doesnt-work-with-page-template?replies=3

    I’d appreciate some help simply because I know that the theme developers pretty much wipe their hands since it only occurs when we use this plugin. Therefore they blame the plugin. That’s how it’s commonly handled.

    I understand the basics of what you’re explaining about how the error occurs. But trying to find the cause of it, i’m not a javascript expert. If it’s something that is more common than you may have though (like in the other thread) then it’s definitely something that would benefit you as well.

    If you want to provide an email I can set up an account for you to take a look.

    Plugin Contributor Elliot Condon

    (@elliotcondon)

    Hi simco,

    The page you linked to has nothing to do with the page_template select or any JS issue. It was a problem with their theme editing the WP query object.

    I can understand that you have pressure from your client, but don’t make this out to be a big deal. Your theme and your theme alone has a JS issue. I am willing to take a look to prove it to you and your theme devs.

    You may need to think about hiring a web developer to make the JS fixes with your theme if your other guys wont.

    Please email to support@advancedcustomfields.com

    Emailed you the info.

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘[Plugin: Advanced Custom Fields] Loose functionality in pages with 3.4.1’ is closed to new replies.