Hello everybody,
currently i am having some problems while using get_sub_field.
Error: Notice: Trying to access array offset on value of type bool in /wp-content/plugins/advanced-custom-fields-pro/includes/api/api-template.php on line 499
My Code:
<?php if( have_rows('goi_dich_vu') ): ;?>
<div class="mount-table no-margin">
<?php while( have_rows('goi_dich_vu') ) : the_row(); ?>
<ul class="color-style-4">
<li><?php echo get_sub_field('ten_goi');?></li>
<li><?php echo get_sub_field('thoi_gian');?></li>
<li><?php echo get_sub_field('gia_tien');?> <span>VNĐ</span></li>
<li><?php echo get_sub_field('storage');?></li>
<li><strong><?php echo get_sub_field('vcpu');?></strong></li>
<li><strong><?php echo get_sub_field('memory');?></strong></li>
<li><?php echo get_sub_field('ipv4');?></li>
<li><?php echo get_sub_field('traffic');?></li>
<li><?php echo get_sub_field('oper_system');?></li>
<li><a href="javascript:void(Tawk_API.toggle());">ĐĂNG KÝ</a></li>
</ul>
<?php endwhile; ?>
</div>
<?php endif; ?>
what line of your code is causing the error