• Resolved titcrea

    (@titcrea)


    hi, since the last update i have this error :

    WordPress version 6.1.1
    Thème actif : Hello Elementor (version 2.6.1)
    Extension actuelle : WP-Optimize – Clean, Compress, Cache (version 3.2.12)
    PHP version 8.0.27

    Détails de l’erreur

    Une erreur de type E_ERROR a été causée dans la ligne 143 du fichier /wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php. Message d’erreur : Uncaught ArgumentCountError: 5 arguments are required, 4 given in /wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php:143
    Stack trace:

    0 /wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php(143): sprintf()

    1 /wp-includes/class-wp-hook.php(308): Updraft_Smush_Manager->manage_media_custom_column()

    2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()

    3 /wp-includes/plugin.php(517): WP_Hook->do_action()

    4 /wp-admin/includes/class-wp-media-list-table.php(671): do_action()

    5 /wp-admin/includes/class-wp-list-table.php(1532): WP_Media_List_Table->column_default()

    6 /wp-admin/includes/class-wp-media-list-table.php(699): WP_List_Table->single_row_columns()

    7 /wp-admin/includes/class-wp-list-table.php(1444): WP_Media_List_Table->display_rows()

    8 /wp-admin/includes/class-wp-list-table.php(1371): WP_List_Table->display_rows_or_placeholder()

    9 /wp-admin/upload.php(388): WP_List_Table->display()

    10 {main}

    thrown

    • This topic was modified 3 years, 3 months ago by titcrea.
    • This topic was modified 3 years, 3 months ago by titcrea. Reason: format
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter titcrea

    (@titcrea)

    when my site is in French the bug is there, but when I switch my site to English the problem is no longer there

    and it only affects the list view in the media library in grid mode no worries… i have been using wp optimize for several years and this is the first time i see this bug only since the last update

    Thread Starter titcrea

    (@titcrea)

    ok i will resolved the problem with loco translate in french translation we have a % add for nothing

    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    Great to hear you found a solution and thank your for sharing this information. I will pass this onto our development team for further investigation

    Plugin Contributor Venkat Raj

    (@webulous)

    @titcrea This text The file was compressed from %s to %s, saving %s percent, using WP-Optimize requires 3 values to complete and have been given in the code. However, if your french translation of this string contains more than three % in its string, then you’ll need to fix the translation, which you did.

    Thread Starter titcrea

    (@titcrea)

    yeah the bug is when you put wordpress in french the translation change for :
    The file was compressed from %s to %s, saving %s % percent, using WP-Optimize

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘error with last update’ is closed to new replies.