Images cannot be uploaded | WordPress.org

[ad_1]

PHP Version 8.1.10
WordPress Version 6.0.2

Cannot upload images to rooms.
Rooms -> Rooms List -> Add New -> (Room Main Image, Extra Images) give this error:

Fatal error: Uncaught Error: Call to undefined function imagetypes() in C:\xampp\htdocs\wordpress\wp-content\plugins\vikbooking\admin\controller.php:1046 Stack trace: #0 C:\xampp\htdocs\wordpress\wp-content\plugins\vikbooking\admin\controller.php(868): VikBookingController->do_createroom() #1 C:\xampp\htdocs\wordpress\wp-content\plugins\vikbooking\libraries\adapter\mvc\controller.php(323): VikBookingController->createroom() #2 C:\xampp\htdocs\wordpress\wp-content\plugins\vikbooking\libraries\system\body.php(55): JController->execute('createroom') #3 C:\xampp\htdocs\wordpress\wp-content\plugins\vikbooking\vikbooking.php(199): VikBookingBody::process() #4 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(307): {closure}('') #5 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #6 C:\xampp\htdocs\wordpress\wp-includes\plugin.php(476): WP_Hook->do_action(Array) #7 C:\xampp\htdocs\wordpress\wp-settings.php(598): do_action('init') #8 C:\xampp\htdocs\wordpress\wp-config.php(96): require_once('C:\\xampp\\htdocs...') #9 C:\xampp\htdocs\wordpress\wp-load.php(50): require_once('C:\\xampp\\htdocs...') #10 C:\xampp\htdocs\wordpress\wp-admin\admin.php(34): require_once('C:\\xampp\\htdocs...') #11 {main} thrown in C:\xampp\htdocs\wordpress\wp-content\plugins\vikbooking\admin\controller.php on line 1046

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer