• Dear all,

    Can you please help me with the following error:

    Fatal error:
    
    2022/08/21 01:53:28 [error] 34493#34493: *2824 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string * float in /www/dnkwatertest_781/public/wp-includes/media.php:467
    Stack trace:
    #0 /www/dnkwatertest_781/public/wp-includes/media.php(714): wp_constrain_dimensions('120', '', 60)
    #1 /www/dnkwatertest_781/public/wp-includes/media.php(1376): wp_image_matches_ratio(60, 60, '120', '')
    #2 /www/dnkwatertest_781/public/wp-includes/media.php(1067): wp_calculate_image_srcset(Array, 'https://dnkwate...', Array, 21)
    #3 /www/dnkwatertest_781/public/wp-admin/includes/class-wp-media-list-table.php(422): wp_get_attachment_image(21, Array, true, Array)
    #4 /www/dnkwatertest_781/public/wp-admin/includes/class-wp-list-table.php(1445): WP_Media_List_Table->column_title(Object(WP_Post))
    #5 /www/dnkwatertest_781/public/wp-admin/includes/class-wp-media-list-table.php(691): WP_List_Table->single_row_columns(Object(WP_Post))
    #6 /www/dnkwatertest_781/public/wp-admin/includes/class-wp-list-table.php(1362): WP_Media_List_Table->display_rows()" while reading response header from upstream, client: x.x.x.x, server: dnkwater.dev, request: "GET /wp-admin/upload.php?mode=list HTTP/1.1", upstream: "fastcgi://unix:/var/run/php8.1-fpm-dnkwatertest.sock:", host: "dnkwater.dev:32065", referrer: "https://dnkwater.dev/wp-admin/upload.php?mode=grid"
    
    PHP Version:
    
    PHP 8.1.8 (fpm-fcgi) (built: Jul 11 2022 08:29:57)
    Copyright (c) The PHP Group
    Zend Engine v4.1.8, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.8, Copyright (c), by Zend Technologies
    
    WordPress version:
    
    6.0.1
    
    Plugins & themes:
    
    dnkwatertest@oon-dnkwatertest-live-prod:~/public$ wp plugin status
    18 installed plugins:
    A advanced-custom-fields-pro 5.12.3
    A astra-addon 3.9.1
    A classic-editor 1.6.2
    A cloudflare 4.11.0
    A code-snippets 3.2.0
    A elementor 3.7.1
    A elementor-pro 3.7.3
    I imagify 2.0
    A jet-woo-builder 2.0.2
    A perfmatters 1.9.5
    A seo-by-rank-math 1.0.95.1
    A seo-by-rank-math-pro 3.0.18.1
    I shortpixel-image-optimiser 5.0.8
    A ultimate-elementor 1.36.8
    A woocommerce 6.8.1
    A wp-rocket 3.11.5
    M kinsta-mu-plugins 2.4.8
    D advanced-cache.php
    
    2 installed themes:
    A astra 3.9.1
    I twentytwentytwo 1.2

    Thanks in advance !

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter guga06cl

    (@guga06cl)

    A quick summary for the previous post:
    Media Library List view presents Critical Error after Shortpixel/Imagify use.

    Thanks again !!

    Moderator threadi

    (@threadi)

    Your PHP version might be too new. It is best to use PHP 7.4 or 8.0. WordPress only offers “beta support” for 8.0 and 8.1. Many plugins still have problems with 8.1.

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

The topic ‘Fatal Error (Media Library List View)’ is closed to new replies.