• preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated

    1. wp-includes/post.php:3298
    2. preg_match()
      wp-includes/post.php:3298
    3. wp_match_mime_types()
      wp-admin/includes/class-wp-media-list-table.php:138
    4. WP_Media_List_Table->get_views()
      wp-admin/includes/class-wp-media-list-table.php:273
    5. WP_Media_List_Table->views()
      wp-admin/upload.php:435

    location /wp-admin/upload.php?mode=list

    View post on imgur.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Please provide some more info so helpers here can have better idea:

    What’s the php version you use?
    What’s the WP version you use?

    Thread Starter banija

    (@banijadev)

    wp version 6.3.1
    php 8.1.23

    Moderator t-p

    (@t-p)

    To rule theme/plugin conflict, please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deprecated notice php 8.1.23’ is closed to new replies.