<?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ query_posts(array('post_type' => array('post', 'Questions')));?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'template-parts/content', get_post_format() );
?>
<?php endwhile; ?>
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
Fatal error: Uncaught Error: Call to undefined function have_posts() in /in/JfMXd:1
Stack trace:
#0 {main}
thrown in /in/JfMXd on line 1
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fatal error: Uncaught Error: Call to undefined function have_posts() in /in/JfMXd:1
Stack trace:
#0 {main}
thrown in /in/JfMXd on line 1
Process exited with code 255.