PHP8 – error
-
Hi Greg,
There seems to be an issue with the description field when TinyMCE is enabled while PHP8 is being used – it triggers a fatal error (which is a warning under PHP7.4) :
FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, first array member is not a valid class name or object in /www/public/wp-includes/class-wp-hook.php:305 Stack trace: #0 /www/public/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #1 /www/public/wp-includes/class-wp-editor.php(416): apply_filters('mce_external_pl...', Array, 'post_content') #2 /www/public/wp-includes/class-wp-editor.php(307): _WP_Editors::editor_settings('post_content', Array) #3 /www/public/wp-includes/general-template.php(3520): _WP_Editors::editor(NULL, 'post_content', Array) #4 /www/public/wp-content/plugins/wpadverts/includes/functions.php(1524): wp_editor(NULL, 'post_content', Array) #5 /www/public/wp-content/plugins/wpadverts/templates/add.php(30): adverts_field_textarea(Array, Object(Adverts_Form)) #6 /www/public/w" while reading upstream, client: 196.132.39.108, server: example.com, request: "GET /vehicle-submission/?nocache HTTP/1.0", upstream: "fastcgi://unix:/var/run/php8.0-fpm.sock:", host: "example.com"Is PHP8 support on the roadmap?
Thank you,
Matt
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘PHP8 – error’ is closed to new replies.