• After updating the Plugin from 2.1.3 to 2.1.4 I can’t access the Media Page – and WP sends me an Email that my website has a technical problem.

    WordPress-Version 5.8.8
    Aktuelles Theme: Enfold-TIL (Version 0.0.1)
    Aktuelles Plugin: WP Media Category Management (Version 2.1.4)
    PHP-Version 7.4.33

    Fehler-Details ============== Ein Fehler vom Typ E_ERROR wurde in der Zeile 456 der Datei /usr/www/users/talentam/live/wp-content/plugins/wp-media-category-management/include/media/class-WP_MCM_Media_List.php verursacht.

    Fehlermeldung: Uncaught Error: Call to undefined function str_starts_with() in /usr/www/users/talentam/live/wp-content/plugins/wp-media-category-management/include/media/class-WP_MCM_Media_List.php:456 Stack trace: #0 /usr/www/users/talentam/live/wp-includes/class-wp-hook.php(303): WP_MCM_Media_List->mcm_manage_taxonomies_for_attachment_columns(Array, ‘attachment’) #1 /usr/www/users/talentam/live/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #2 /usr/www/users/talentam/live/wp-admin/includes/class-wp-media-list-table.php(331): apply_filters(‘manage_taxonomi…’, Array, ‘attachment’) #3 /usr/www/users/talentam/live/wp-includes/class-wp-hook.php(303): WP_Media_List_Table->get_columns(Array) #4 /usr/www/users/talentam/live/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #5 /usr/www/users/talentam/live/wp-admin/includes/screen.php(37): apply_filters(‘manage_upload_c…’, Array) #6 /usr/www/users/talentam/live/wp-admin/includes/class-wp-screen.php(995): get_column_headers(Object(WP_Screen)) #

    • This topic was modified 1 year, 4 months ago by Andreas.
Viewing 1 replies (of 1 total)
  • Plugin Author DeBAAT

    (@debaat)

    Hai Andreas,

    Sorry the update doesn’t work.

    Analysis shows that the error is caused by a function I started using which is part of PHP 8. Since WordPress claims to be backwards compatible, I was under the impression I could use this function as well. And it looks like WordPress has indeed a compat.php file which does just that.

    The function is supported from WordPress version 5.9.0. The debug information shows you are using version 5.8.8. So I think the fastest way to solve this issue for you is to upgrade WordPress to 5.9 or later.

    Hope this helps.

    Best regards,

    Jan

Viewing 1 replies (of 1 total)
  • The topic ‘Error after Update’ is closed to new replies.