PHP 8 compatiblity | WordPress.org

[ad_1]

Experiencing a Call to undefined function create_function() in appointment-booking-calendar fatal error when the php version is 8 or above. At 7.4 it does not occur. The plugin version i s 1.3.79/8.2.27 and WP 6.3.1
Currently have the site on the older php version as it is a live site. Here’s the exact error. Note that in php 8 and above, create_function is removed. This needs to be fixed.

Fatal error: Uncaught Error: Call to undefined function create_function() in /home/putznglo/public_html/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php:2664 Stack trace: #0 /home/putznglo/public_html/wp-settings.php(462): include_once() #1 /home/putznglo/public_html/wp-config.php(106): require_once(‘/home/putznglo/…’) #2 /home/putznglo/public_html/wp-load.php(50): require_once(‘/home/putznglo/…’) #3 /home/putznglo/public_html/wp-blog-header.php(13): require_once(‘/home/putznglo/…’) #4 /home/putznglo/public_html/index.php(17): require(‘/home/putznglo/…’) #5 {main} thrown in /home/putznglo/public_html/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 2664

The page I need help with: [log in to see the link]

 

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