PHP version compatibility
-
Hello and thank you for the amazing work 🙂
I’m running into a little problem:
Our website using ACF works like a charm in local servers but it’s crashing the website on our pre-production server. The php version is 5.3.3. We tried also on another one who is even older (5.2.10) and we got exactly the same result.The code is the following:
<?php $args = array( 'post_type' => 'header_banners', 'posts_per_page' => 1); $loop = new WP_Query( $args ); ?> <?php while ( $loop->have_posts() ) : $loop->the_post();?> <?php echo get_field("image")['url']; ?>); <?php the_title();?> <?php echo get_the_content();?> <?php echo get_field("url");?> <?php endwhile;?>The get_field functions are stopping php execution (I got no error message even with WP_DEBUG to true).
We are trying on a third server just in case (I’m not sure about the php version though), but maybe you got an answer that can be very helpful for us 🙂
Thank you very much for your time !
The topic ‘PHP version compatibility’ is closed to new replies.