Support » Plugin: ShortPixel Image Optimizer - Optimize Images, Convert WebP & AVIF » Fatal error after update to 5.0.8

  • Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in .../wp-content/plugins/shortpixel-image-optimiser/class/Controller/AdminNoticesController.php:622 Stack trace: #0 .../wp-content/plugins/shortpixel-image-optimiser/class/Controller/AdminNoticesController.php(622): sprintf('<strong> %s obr...', '25') #1 .../wp-content/plugins/shortpixel-image-optimiser/class/Controller/AdminNoticesController.php(385): ShortPixel\Controller\AdminNoticesController->getQuotaExceededMessage() #2 .../wp-content/plugins/shortpixel-image-optimiser/class/Controller/AdminNoticesController.php(185): ShortPixel\Controller\AdminNoticesController->doQuotaNotices() #3 .../wp-includes/class-wp-hook.php(307): ShortPixel\Controller\AdminNoticesController->check_admin_notices('') #4 .../wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array) #5 .../wp-includes/plugin.php(476): WP_Hook->do_action(Array) #6 .../wp-admin/admin-header.php(303): do_action('admin_notices') #7 .../wp-admin/index.php(137): require_once('/data/a/5/a5f62...') #8 {main} thrown in .../wp-content/plugins/shortpixel-image-optimiser/class/Controller/AdminNoticesController.php on line 622

    I’m using Multisite instalation and have latest WordPress

    Thanks

    • This topic was modified 5 months, 3 weeks ago by Patrik Illy.
Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support sixaxis

    (@sixaxis)

    Hi Patrik,

    Could you please tell us doing what exactly you see this error? What screen does it appear on, or what steps do you need to follow?

    In addition, could you please send us your site information? Please go to Tools > Site Health > Info, click on “Copy site info to clipboard” and then paste it here.

    Thank you,

    Thread Starter Patrik Illy

    (@illycz)

    Hi,
    on dashboard, on settings page, on every admin page.

    
    ### wp-core ###
    
    version: 6.0.1
    site_language: cs_CZ
    user_language: cs_CZ
    timezone: Europe/Prague
    permalink: /%year%/%monthnum%/%day%/%postname%/
    https_status: true
    multisite: true
    user_registration: false
    blog_public: 0
    default_comment_status: open
    environment_type: production
    site_count: 3
    network_count: 1
    user_count: 3
    dotorg_communication: true
    
    ### wp-active-theme ###
    
    name: Ona Minimal (ona-minimal)
    version: 1.0.4
    author: DeoThemes
    author_website: https://deothemes.com
    parent_theme: Ona (ona)
    theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor, wp-block-styles, editor-style
    theme_path: /data/a/5/a5f62119-a311-443f-a66b-de5b76f8ca24/one-way-ticket.cz/web/wp-content/themes/ona-minimal
    auto_update: Deaktivováno
    
    ### wp-parent-theme ###
    
    name: Ona (ona)
    version: 1.11
    author: DeoThemes
    author_website: https://deothemes.com
    theme_path: /data/a/5/a5f62119-a311-443f-a66b-de5b76f8ca24/one-way-ticket.cz/web/wp-content/themes/ona
    auto_update: Deaktivováno
    
    ### wp-themes-inactive (2) ###
    
    Twenty Twenty-Two: version: 1.2, author: Vývojáři WordPressu (a překladatelé), Automatické aktualizace zakázány
    Wabi: version: 1.0.4, author: RichTabor.com, Automatické aktualizace zakázány
    
    ### wp-plugins-active (4) ###
    
    Jetpack: version: 11.2, author: Automattic, Automatické aktualizace zakázány
    ShortPixel Image Optimizer: version: 5.0.8, author: ShortPixel, Automatické aktualizace zakázány
    WPS Hide Login: version: 1.9.6, author: WPServeur, NicolasKulka, wpformation, Automatické aktualizace zakázány
    Čeština: zalomení řádků: version: 1.0.2, author: Marek Vratil, Automatické aktualizace zakázány
    
    ### wp-plugins-inactive (1) ###
    
    Akismet Anti-Spam: version: 5.0, author: Automattic, Automatické aktualizace zakázány
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: 1673
    imagemagick_version: ImageMagick 6.8.9-9 Q16 x86_64 2020-12-04 http://www.imagemagick.org
    imagick_version: @PACKAGE_VERSION@
    file_uploads: File uploads is turned off
    post_max_size: 512M
    upload_max_filesize: 256M
    max_effective_size: 256 MB
    max_file_uploads: 30
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP
    ghostscript_version: 9.26
    
    ### wp-server ###
    
    server_architecture: Linux 4.15.0-166-generic x86_64
    httpd_software: Apache
    php_version: 8.0.20 64bit
    php_sapi: apache2handler
    max_input_variables: 1000
    time_limit: 600
    memory_limit: 512M
    max_input_time: 60
    upload_max_filesize: 256M
    php_post_max_size: 512M
    curl_version: 7.47.0 OpenSSL/1.0.2g
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.3.25-MariaDB-0ubuntu0.20.04.1-log
    client_version: mysqlnd 8.0.20
    max_allowed_packet: 16777216
    max_connections: 3000
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /data/a/5/a5f62119-a311-443f-a66b-de5b76f8ca24/one-way-ticket.cz/web/wp-content
    WP_PLUGIN_DIR: /data/a/5/a5f62119-a311-443f-a66b-de5b76f8ca24/one-way-ticket.cz/web/wp-content/plugins
    WP_MEMORY_LIMIT: 512M
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Nedefinováno
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    ### jetpack ###
    
    site_id: false
    ssl_cert: No
    time_diff: undefined
    version_option: 11.2:1659880430
    old_version: 11.2:1659880430
    public: Private
    master_user: No master user set.
    current_user: #1 illycz
    tokens_set: None
    blog_token: Not set.
    user_token: Not set.
    version: 11.2
    jp_plugin_dir: /data/a/5/a5f62119-a311-443f-a66b-de5b76f8ca24/one-way-ticket.cz/web/wp-content/plugins/jetpack/
    plan: free
    protect_header: false
    full_sync: {"started":"Thu, 01 Jan 1970 00:00:00 +0000","finished":"Thu, 01 Jan 1970 00:00:00 +0000","progress":[],"config":[]}
    sync_size: undefined
    sync_lag: 0 seconds
    full_sync_size: undefined
    full_sync_lag: 0 seconds
    idc_urls: {"home":"https:\/\/one-way-ticket.cz","siteurl":"https:\/\/one-way-ticket.cz","WP_HOME":"","WP_SITEURL":""}
    idc_error_option: false
    idc_optin: false
    cxn_tests: All Pass.
    
    

    Thanks

    Thread Starter Patrik Illy

    (@illycz)

    And there is also alert about quota, maybe is’t somehow related…

    Plugin Support sixaxis

    (@sixaxis)

    Thanks, Patrik.

    Could you please do a quick test and try to deactivate all plugins (except ShortPixel) to try to see if the issue is related to a conflict with another plugin?

    Thank you,

    Thread Starter Patrik Illy

    (@illycz)

    The quota notice disappeared and so did the error.
    So maybe it really has to do with exceeding the quota.

    Thread Starter Patrik Illy

    (@illycz)

    Notice about quota and fatal error again.
    Notice without error only on main network site.
    On other sites there is fatal error pasted earlier.

    Thread Starter Patrik Illy

    (@illycz)

    It looks like problem with exceeding the quota on multisite installation…

    Plugin Support sixaxis

    (@sixaxis)

    Hi Patrik,

    Could you please do a quick test and try to deactivate all plugins (except ShortPixel) to try to see if the issue is related to a conflict with another plugin?

    Thank you,

    Thread Starter Patrik Illy

    (@illycz)

    Yes, problem persist without others plugins.

    Plugin Support sixaxis

    (@sixaxis)

    We are unable to replicate this issue, so I guess there is something unique in your installation that is triggering this. Can you think of something? Maybe you have no images at all?

    Thread Starter Patrik Illy

    (@illycz)

    I have images and fatal error is displayed only when I exceeding the quota and only on subsites in network.

    Plugin Author Pedro

    (@petredobrescu)

    Dear @illycz,

    Since we’re not able to reproduce this issue, can you please get in touch with us by mentioning this thread, so we can have a closer look? Most likely we’ll need access to a dev copy of your site to better understand what is going on.

    Thank you!

    Thread Starter Patrik Illy

    (@illycz)

    Hi, do you need admin account?

    Plugin Support sixaxis

    (@sixaxis)

    Hi Patrik,

    I’m sorry, but we are not actually allowed to ask for admin access to your website (WordPress guidelines). The previous message was a mistake. My apologies.

    Please give us a few days to try to find out what’s happening.

    Thank you,

    Plugin Support sixaxis

    (@sixaxis)

    Hi Patrik,

    We have spent a lot of time investigating this, but unfortunately we are unable to reproduce the issue. 🙁

    Since we can’t access your environment, all I can tell you for now is that we are going to keep trying to reproduce the issue. As soon as we have an update, we will let you know.

    Best,

Viewing 15 replies - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.