• Resolved Till Krüss

    (@tillkruess)


    
    preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated
    
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andy Fragen

    (@afragen)

    Can you provide a stack trace?

    Thread Starter Till Krüss

    (@tillkruess)

    
    wp-content/plugins/wordpress-beta-tester/src/WPBT/WPBT_Core.php:411
    preg_match()
    wp-content/plugins/wordpress-beta-tester/src/WPBT/WPBT_Core.php:411
    WPBT_Core->calculate_next_versions()
    wp-content/plugins/wordpress-beta-tester/src/WPBT/WP_Beta_Tester.php:178
    WP_Beta_Tester->channel_switching_modification()
    wp-content/plugins/wordpress-beta-tester/src/WPBT/WP_Beta_Tester.php:162
    WP_Beta_Tester->filter_http_request()
    wp-includes/class-wp-hook.php:307
    apply_filters('pre_http_request')
    wp-includes/class-wp-http.php:257
    WP_Http->request()
    wp-includes/class-wp-http.php:614
    WP_Http->post()
    wp-includes/http.php:179
    wp_remote_post()
    wp-includes/update.php:163
    wp_version_check()
    wp-admin/update-core.php:1024
    
    Thread Starter Till Krüss

    (@tillkruess)

    PHPStan or similar can reveal these ??

    Plugin Author Andy Fragen

    (@afragen)

    Thanks. I haven’t started with PHP8.1 yet but clearly I need to.

    Plugin Author Andy Fragen

    (@afragen)

    Just released a v3.2.3 which should fix this. Let me know.

    Thread Starter Till Krüss

    (@tillkruess)

    Sweet, will test!

    8.1 is a ***** with WordPress, I can’t believe core still is throwing deprecation warnings.

    Plugin Author Andy Fragen

    (@afragen)

    There’s lots to fix. I think/hope Requests comes soon.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Still not PHP 8.1 compatible’ is closed to new replies.