• Do you plan on updating the plugin to ensure that it is compatible with a higher version of PHP and WordPress?

    Bill van Wyk

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor nick6352683

    (@nick6352683)

    The min requirement is 7.0, and I religiously use php 7.4 with no issues, I’m guessing you are looking for versions 8 and above correct?

    If that’s the case, it’s up to the actual developers to deal with, as I’m just a contributor…

    Plugin Contributor nick6352683

    (@nick6352683)

    I just did a quick test at InstaWP, using the free version of ACF and obviously this plugin, using php 8.1.

    The simple calculation was the multiplying 2 numberc fields A,B (a*b), in a numeric field named answer.

    Result: It actually works, but it does not auto refresh the calculated field. To see the result, you have to save the post/page/cpt, and then manually refresh the page. Going on the front end and coming back is the same thing. So technically it works. I did not debug in any way to see for any php errors as I’m pressed in time, but the refreshing can be anywhere from php compatibility issues, to how Gutenberg code changes. BTW, I was testing with a dev version of WP 6.2, I believe it was WP 6.2 beta 4.

    sixo

    (@sixo)

    This is disappointing, Im still surprised ACF doesn’t have this built in!

    Im running on 8.1 as well Nick, and you’re right saving the post does update the custom field. This won’t work in my case as I have hundreds of items that half may have a discount from dynamic data.

    Is the only solution to move to PHP 7? Or do you have any other suggestions?

    Plugin Contributor nick6352683

    (@nick6352683)

    I totally 100% agree that this should be part of ACF !

    At this point, since the (and I’m guessing here) the AJAX auto refresh is not firing, even though the fields are actually getting updated on Save, but if this is not good enough for you, I don’t see any options for you but to downgrade the php version to 7.4.

    Please also note that WordPress/Gutenberg is probably not fully php 8 ready, and the new upcoming ACF version is attempting to be php 8 ready. However, the new dev/beta version’s are still receiving deprecated notices, from what I read from their ACF Github bug reports. ACF is going to try to resolve the remaining deprecated issues by the time the production version of it’s plugin is released… I know that WordPress 6.2 changed the way it displays the Editor, breaking the Edit view of the ACF Blocks, among with breaking some other non ACF plugins. They reverted those changes, but will be introduced again with WP 6.3, so developers will have more time to adjust their codes. I’m saying all this, because the issue could NOT be necessarily with this plugin itself, but ACF or even Gutenberg, which if it is, this issue might be resolved by them in time. If you can’t wait (for miracles), I’m afraid the only suggestion I have for you is to downgrade to php 7.4.

    Also note that you can’t use this plugin in with Repeater fields that have the pagination turned on. I will have to ask them if there is something ACF has to do so we get a fix for it…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Update of the plugin’ is closed to new replies.