How to create single page site in WordPress

Create a child theme for your current theme. Read how to here.

After that create a file in your child theme named front-page.php. This is the first file WordPress will look for when you visit the home page of your site.

To understand why, read here.

In that file use:

<?php

get_header();

$all_pages = get_pages();
global $post;
echo '<div class="pages-container">';
foreach ( $all_pages as $post ) {
   setup_postdata($post);
   // improve the content, this is an example
   echo '<h2>' . the_title() . '</h2>';
   echo '<div class="page">' . the_content() . '</div>';
}
echo '</div>';
wp_reset_postdata();

get_footer();

The docs for function I’ve used are here:

error code: 523