Fatal error: Uncaught TypeError: getPaymentDetails(): Argument #1 ($post) must be of type Timber\Post, bool given, called in /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 65 and defined in /www/doc/www.aqeacademy.cz/www/wp-content/themes/academy/functions.php:659 Stack trace: #0 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code(65): getPaymentDetails(false) #1 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(214): __TwigTemplate_5f6ed783e92f42b0dc3d9c320bd84f74eeb4535c4d2df82dc08245949411b168->block_content(Array, Array) #2 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code(193): Twig\Template->displayBlock('content', Array, Array) #3 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(453): __TwigTemplate_157e280da561faad0f653dbdaf60337b534575f51f13312df2f65af797e707a7->doDisplay(Array, Array) #4 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(420): Twig\Template->displayWithErrorHandling(Array, Array) #5 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code(35): Twig\Template->display(Array, Array) #6 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(453): __TwigTemplate_5f6ed783e92f42b0dc3d9c320bd84f74eeb4535c4d2df82dc08245949411b168->doDisplay(Array, Array) #7 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(420): Twig\Template->displayWithErrorHandling(Array, Array) #8 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(432): Twig\Template->display(Array) #9 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/vendor/twig/twig/src/TemplateWrapper.php(47): Twig\Template->render(Array, Array) #10 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/lib/Loader.php(79): Twig\TemplateWrapper->render(Array) #11 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/lib/Timber.php(334): Timber\Loader->render('registrace-doko...', Array, false, 'default') #12 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/lib/Timber.php(383): Timber\Timber::compile('registrace-doko...', Array, false, 'default', true) #13 /www/doc/www.aqeacademy.cz/www/wp-content/plugins/timber-library/lib/Timber.php(410): Timber\Timber::fetch('registrace-doko...', Array, false, 'default') #14 /www/doc/www.aqeacademy.cz/www/wp-content/themes/academy/page-registrace-dokoncena.php(14): Timber\Timber::render('registrace-doko...', Array) #15 /www/doc/www.aqeacademy.cz/www/wp-includes/template-loader.php(106): include('/www/doc/www.aq...') #16 /www/doc/www.aqeacademy.cz/www/wp-blog-header.php(19): require_once('/www/doc/www.aq...') #17 /www/doc/www.aqeacademy.cz/www/index.php(16): require('/www/doc/www.aq...') #18 {main} thrown in /www/doc/www.aqeacademy.cz/www/wp-content/themes/academy/functions.php on line 659