Fatal error when submitting form with PHP 8
-
Hello,
We are testing our WordPress with php8 (8.0.12) and when submitting a form, an error happen and shows the message “An unexpected error occured with error code: 500 Internal Server Error. Internal Server Error. Please contact us for more information.”
FYI : With php 7.3, there is no error and works correctlyAfter checking the debug file, apparently there is an error on the file “class-applyonline.php” :
PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /data1/www/wordpress-ch/wp-content/plugins/apply-online/includes/class-applyonline.php:764
I checked the requirement of the plugin : PHP Version 5.2.4 or higher
It’s weird that there is an error on the code.Could you please check if the plugin really works/compatible with php8 ?
Thanks in advance
Best regards
- The topic ‘Fatal error when submitting form with PHP 8’ is closed to new replies.