Bug 286829
| Summary: | www.webkit.org webkit_surveys plugin errors in PHP 8.1 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | lingho <lingho> |
| Component: | WebKit Website | Assignee: | lingho <lingho> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | jond, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
lingho@apple.com
Getting this in php-fpm log when trying to update server pod to RHEL 9 and PHP-FPM 8.1.
[31-Jan-2025 21:27:14 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method WebKit_Survey::process_vote() cannot be called statically in /var/www/webkit.org/Websites/webkit.org/wordpress/wp-includes/class-wp-hook.php:324
Stack trace:
#0 /var/www/webkit.org/Websites/webkit.org/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#1 /var/www/webkit.org/Websites/webkit.org/wordpress/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#2 /var/www/webkit.org/Websites/webkit.org/wordpress/wp-includes/class-wp.php(830): do_action_ref_array('wp', Array)
#3 /var/www/webkit.org/Websites/webkit.org/wordpress/wp-includes/functions.php(1336): WP->main('')
#4 /var/www/webkit.org/Websites/webkit.org/wordpress/wp-blog-header.php(16): wp()
#5 /var/www/webkit.org/Websites/webkit.org/index.php(17): require('/var/www/webkit...')
#6 {main}
thrown in /var/www/webkit.org/Websites/webkit.org/wordpress/wp-includes/class-wp-hook.php on line 324
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
lingho@apple.com
rdar://143981711
lingho@apple.com
Pull request: https://github.com/WebKit/WebKit/pull/39836
EWS
Committed 290121@main (df6132558a46): <https://commits.webkit.org/290121@main>
Reviewed commits have been landed. Closing PR #39836 and removing active labels.