Fatal error: Uncaught Error: Call to undefined function get_field() in /var/www/wp/hammaskulma2020/web/app/plugins/kruunukirjasto-questions/blocks/render-block.php:45 Stack trace: #0 /var/www/wp/hammaskulma2020/web/app/plugins/kruunukirjasto-questions/blocks/render-block.php(32): get_question_attached_post() #1 /var/www/wp/hammaskulma2020/web/wp/wp-includes/class-wp-block.php(256): questions_block_render() #2 /var/www/wp/hammaskulma2020/web/wp/wp-includes/blocks.php(1051): WP_Block->render() #3 /var/www/wp/hammaskulma2020/web/wp/wp-includes/blocks.php(1089): render_block() #4 /var/www/wp/hammaskulma2020/web/wp/wp-includes/class-wp-hook.php(308): do_blocks() #5 /var/www/wp/hammaskulma2020/web/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters() #6 /var/www/wp/hammaskulma2020/web/wp/wp-includes/post-template.php(255): apply_filters() #7 /var/www/wp/hammaskulma2020/web/app/uploads/sites/2/cache/ea4110ec7016ce6cfc307424659fa5710381ccb1.php(1): the_content() #8 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/filesystem/Filesystem.php(107): require('...') #9 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #10 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #11 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #12 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(139): Illuminate\View\Engines\CompilerEngine->get() #13 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(122): Illuminate\View\View->getContents() #14 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(91): Illuminate\View\View->renderContents() #15 /var/www/wp/hammaskulma2020/web/app/uploads/sites/2/cache/ca2cd167fe6957dd42cedbddd4a4cbf37153138b.php(3): Illuminate\View\View->render() #16 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/filesystem/Filesystem.php(107): require('...') #17 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #18 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #19 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #20 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(139): Illuminate\View\Engines\CompilerEngine->get() #21 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(122): Illuminate\View\View->getContents() #22 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(91): Illuminate\View\View->renderContents() #23 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/roots/sage-lib/Template/Blade.php(58): Illuminate\View\View->render() #24 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/app/helpers.php(62): Roots\Sage\Template\Blade->render() #25 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/app/filters.php(77): App\template() #26 /var/www/wp/hammaskulma2020/web/wp/wp-includes/class-wp-hook.php(308): App\{closure}() #27 /var/www/wp/hammaskulma2020/web/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters() #28 /var/www/wp/hammaskulma2020/web/wp/wp-includes/template-loader.php(104): apply_filters() #29 /var/www/wp/hammaskulma2020/web/wp/wp-blog-header.php(19): require_once('...') #30 /var/www/wp/hammaskulma2020/web/index.php(6): require('...') #31 {main} Next Illuminate\View\ViewException: Call to undefined function get_field() (View: /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/resources/views/partials/content-page.blade.php) in /var/www/wp/hammaskulma2020/web/app/plugins/kruunukirjasto-questions/blocks/render-block.php:45 Stack trace: #0 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException() #1 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #2 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(139): Illuminate\View\Engines\CompilerEngine->get() #3 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(122): Illuminate\View\View->getContents() #4 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(91): Illuminate\View\View->renderContents() #5 /var/www/wp/hammaskulma2020/web/app/uploads/sites/2/cache/ca2cd167fe6957dd42cedbddd4a4cbf37153138b.php(3): Illuminate\View\View->render() #6 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/filesystem/Filesystem.php(107): require('...') #7 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #8 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #9 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #10 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(139): Illuminate\View\Engines\CompilerEngine->get() #11 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(122): Illuminate\View\View->getContents() #12 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(91): Illuminate\View\View->renderContents() #13 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/roots/sage-lib/Template/Blade.php(58): Illuminate\View\View->render() #14 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/app/helpers.php(62): Roots\Sage\Template\Blade->render() #15 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/app/filters.php(77): App\template() #16 /var/www/wp/hammaskulma2020/web/wp/wp-includes/class-wp-hook.php(308): App\{closure}() #17 /var/www/wp/hammaskulma2020/web/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters() #18 /var/www/wp/hammaskulma2020/web/wp/wp-includes/template-loader.php(104): apply_filters() #19 /var/www/wp/hammaskulma2020/web/wp/wp-blog-header.php(19): require_once('...') #20 /var/www/wp/hammaskulma2020/web/index.php(6): require('...') #21 {main} Next Illuminate\View\ViewException: Call to undefined function get_field() (View: /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/resources/views/partials/content-page.blade.php) (View: /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/resources/views/partials/content-page.blade.php) in /var/www/wp/hammaskulma2020/web/app/plugins/kruunukirjasto-questions/blocks/render-block.php:45 Stack trace: #0 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException() #1 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #2 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(139): Illuminate\View\Engines\CompilerEngine->get() #3 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(122): Illuminate\View\View->getContents() #4 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/illuminate/view/View.php(91): Illuminate\View\View->renderContents() #5 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/vendor/roots/sage-lib/Template/Blade.php(58): Illuminate\View\View->render() #6 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/app/helpers.php(62): Roots\Sage\Template\Blade->render() #7 /var/www/wp/hammaskulma2020/web/app/themes/hammaskulma2020/app/filters.php(77): App\template() #8 /var/www/wp/hammaskulma2020/web/wp/wp-includes/class-wp-hook.php(308): App\{closure}() #9 /var/www/wp/hammaskulma2020/web/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters() #10 /var/www/wp/hammaskulma2020/web/wp/wp-includes/template-loader.php(104): apply_filters() #11 /var/www/wp/hammaskulma2020/web/wp/wp-blog-header.php(19): require_once('...') #12 /var/www/wp/hammaskulma2020/web/index.php(6): require('...') #13 {main} thrown in /var/www/wp/hammaskulma2020/web/app/plugins/kruunukirjasto-questions/blocks/render-block.php on line 45