• Hi,
    I am getting my debug.log file filled with notice about the PHP Deprecated feature. Below are the details, appreciate your feedback. Thanks

    • WordPress Version 6.6.1
    • Server architecture Linux 6.1.0-21-amd64 x86_64
    • Web server nginx/1.27.0
    • PHP version 8.2.20 (Supports 64bit values)
    • PHP SAPI fpm-fcgi
    [27-Jul-2024 01:01:15 UTC] PHP Deprecated:  Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 227
    [27-Jul-2024 01:01:15 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 243
    [27-Jul-2024 01:01:26 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 227
    [27-Jul-2024 01:01:26 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 243
    [27-Jul-2024 08:00:13 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 227
    [27-Jul-2024 08:00:13 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 243
    [27-Jul-2024 08:38:51 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 243
    [27-Jul-2024 08:41:04 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 227
    [27-Jul-2024 08:41:04 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 243
    [27-Jul-2024 10:05:20 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 227
    [27-Jul-2024 10:05:20 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 243
    [27-Jul-2024 10:20:02 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 243
    [27-Jul-2024 10:22:23 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 227
    [27-Jul-2024 10:22:23 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 243
    [27-Jul-2024 15:38:00 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 227
    [27-Jul-2024 15:38:00 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 243
    [27-Jul-2024 15:38:54 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 243
    [27-Jul-2024 15:39:55 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 227
    [27-Jul-2024 15:39:55 UTC] PHP Deprecated: Implicit conversion from float 0.5 to int loses precision in /var/www/html/wp-content/plugins/shortpixel-critical-css/lib/ShortPixel/CriticalCSS/Background/ProcessAbstract.php on line 243
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pedro

    (@petredobrescu)

    Hello @yabdali,

    Thanks for pointing this out to us. Can you also send us a screenshot with the plugin settings? You just need to go in wp-admin to Settings –> SP Critical CSS -> Options tab and take a screenshot.

    It would also be great to send us the list of active plugins (and their versions), as well as your theme, so we can check if the same notice can be reproduced in our test environments.

    Thank you!

    Thread Starter yabdali

    (@yabdali)

    Sure, here are the details. Please note that JetPack is almost disabled except for Blaze. https://imgur.com/F4bLqNP

    Advanced Editor Tools Version 5.9.2 by Automattic | Auto-updates disabled
    Async JavaScript Version 2.21.08.31 by Frank Goossens (futtta) | Auto-updates enabled
    Beaver Builder Addons by WPZOOM Version 1.3.6 by WPZOOM | Auto-updates enabled
    Beaver Builder Plugin (Lite Version) Version 2.8.3.2 by The Beaver Builder Team | Auto-updates enabled
    Booking Activities Version 1.16.13 by Booking Activities Team | Auto-updates enabled
    CDN Enabler Version 2.0.8 by KeyCDN | Auto-updates disabled
    Checkout Field Editor and Manager for WooCommerce Version 2.2.22 by Acowebs | Auto-updates disabled
    Classic Editor Version 1.6.4 by WordPress Contributors | Auto-updates disabled
    Classic Widgets Version 0.3 by WordPress Contributors | Auto-updates disabled
    Cloudflare Version 4.12.7 by Cloudflare, Inc. | Auto-updates disabled
    Code Snippets Version 3.6.5.1 by Code Snippets Pro | Auto-updates enabled
    Custom Product Tabs for WooCommerce Version 1.8.5 by Code Parrots | Auto-updates enabled
    Disable Cart Fragments Version 2.3 by Optimocha | Auto-updates disabled
    FluentSMTP Version 2.2.80 by FluentSMTP & WPManageNinja Team | Auto-updates disabled
    Font Awesome Version 4.5.0 by Font Awesome | Auto-updates disabled
    Health Check & Troubleshooting Version 1.7.1 by The www.ads-software.com community | Auto-updates enabled
    Heartbeat Control by WP Rocket Version 2.0.1 by WP Rocket | Auto-updates enabled
    Jetpack Version 13.6 by Automattic | Auto-updates enabled
    Kadence WooCommerce Email Designer Version 1.5.13 by Kadence WP | Auto-updates enabled
    Maps Widget for Google Maps Version 4.26 by WebFactory Ltd | Auto-updates enabled
    Modula Version 2.8.16 by WPChill | Auto-updates disabled
    Ninja Forms Version 3.8.8 by Saturday Drive | Auto-updates disabled
    PDF Invoices & Packing Slips for WooCommerce Version 3.8.6 by WP Overnight | Auto-updates enabled
    Rank Math SEO Version 1.0.224 by Rank Math | Auto-updates disabled
    Regenerate Thumbnails Version 3.1.6 by Alex Mills (Viper007Bond) | Auto-updates enabled
    Schema & Structured Data for WP & AMP Version 1.34.2 by Magazine3 | Auto-updates disabled
    ShortPixel Critical CSS Version 1.0.4 by ShortPixel | Auto-updates disabled
    Site Kit by Google Version 1.131.0 by Google | Auto-updates enabled
    Smart Slider 3 Version 3.5.1.23 by Nextend | Auto-updates enabled
    Super Page Cache for Cloudflare Version 4.7.13 by Optimole | Auto-updates disabled
    UpdraftPlus - Backup/Restore Version 1.24.4 by UpdraftPlus.Com, DavidAnderson | Auto-updates disabled
    WooCommerce Version 9.1.4 by Automattic | Auto-updates enabled
    WooCommerce Product Dependencies Version 1.2.8 by SomewhereWarm | Auto-updates enabled
    WP Crontrol Version 1.17.0 by John Blackbourn | Auto-updates disabled
    WP OPcache Version 4.2.0 by nierdz | Auto-updates disabled
    WP YouTube Lyte Version 1.7.23 by Frank Goossens (futtta) | Auto-updates enabled
    Yoast Duplicate Post Version 4.5 by Enrico Battocchi & Team Yoast | Auto-updates enabled
    • Active Theme
    • Name
    • Neve (neve)
    • Version
    • 3.8.9
    • Author
    • ThemeIsle
    • Author website
    • https://themeisle.com
    • Parent theme
    • None
    • Theme features
    • core-block-patterns, hfg_support, widgets-block-editor, post-thumbnails, align-wide, automatic-feed-links, border, custom-background, custom-logo, custom-spacing, custom-units, customize-selective-refresh-widgets, editor-color-palette, fl-theme-builder-footers, fl-theme-builder-headers, fl-theme-builder-parts, header-footer-elementor, html5, lifterlms-sidebars, lifterlms, link-color, service_worker, starter-content, title-tag, menus, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets
    • Theme directory location
    • /var/www/html/wp-content/themes/neve
    • Auto-updates
    • Enabled
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.