Hello,
Thanks for the feedback!
It looks like your question is related to ACF, and not the ACF Extended plugin, as the version 5.x.x & 6.x are the ACF versions.
I would recommend to contact the ACF Support here, they will be able to provide you assistance.
As a side note, generally speaking the “Allowed memory size” error has two possible cause:
- You don’t have enough memory to execute your website code
- OR you have a PHP script that run in an infinite loop and eat all your memory
For the first cause, you can try to increase your memory limit in your wp-config.php
using the following code:
define('WP_MEMORY_LIMIT', '256M');
See related article.
If that doesn’t fix the issue, maybe its because of the second reason. In this case, in order to isolate the issue, I would recommend clone your website on a development / staging environment using Duplicator, or your hosting backup solution. Then try to disable all your plugins one-by-one (at the exception of ACF Pro) until you find which one cause the issue.
If the problem persists, I would suggest switch to the native WP Twenty Twenty Two theme, to make sure you don’t have any custom code in your theme which would break the website.
Hope it helps!
Have a nice day!
Regards.
Yes, but it’s a memory leak, if you increase the memory limit to 2gb, it will want 3gb, and so on
If i delete this
fatal error in too /plugins/advanced-custom-fields-pro/includes/acf-helper-functions.php on line 648
If i delete this statement from my custom template memory size error is fixed
<?php
if ( get_field( 'dynamic_content' ) ) { ?>
<?php while ( has_sub_field( 'dynamic_content' ) ) { ?>
<?php /** section heading */ ?>
<?php get_template_part( 'page-sections/offers' ); ?>
<?php do_action( '/render/' . get_row_layout(), get_row() ) ?>
<?php } ?>
<?php } ?>
<?php
if ( get_field( 'dynamic_content' ) ) {
$header = false;
while ( has_sub_field( 'dynamic_content' ) ) { ?>
Such code in the template also causes the memory size problem
if (get_field('dynamic_content')) {
$logicvapes_dynamic_content = get_field('dynamic_content');
echo '<div class="test">' . $dynamic_content . '</div>';
}
Hello,
What you’re describing is not normal. the ACF helper should not break your website. I would recommend to follow the steps I described in my last answer, or try to contact the ACF Support directly.
Regards.