PHP 8 compatiblity
-
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 2664The page I need help with: [log in to see the link]
- The topic ‘PHP 8 compatiblity’ is closed to new replies.