• Resolved pikamander2

    (@pikamander2)


    Hi there, we’re receiving these deprecations warnings in our cron log:

    PHP Deprecated:  Creation of dynamic property autoptimizeImages::$lazyload_counter is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 34
    
    Deprecated: Creation of dynamic property autoptimizeImages::$lazyload_counter is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 34
    
    PHP Deprecated:  Creation of dynamic property autoptimizeCriticalCSSCore::$criticalcss is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCore.php on line 20
    
    Deprecated: Creation of dynamic property autoptimizeCriticalCSSCore::$criticalcss is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCore.php on line 20
    
    PHP Deprecated:  Creation of dynamic property autoptimizeImages::$lazyload_counter is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 34
    
    Deprecated: Creation of dynamic property autoptimizeImages::$lazyload_counter is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 34
    
    PHP Deprecated:  Creation of dynamic property autoptimizeImages::$lazyload_counter is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 34
    
    Deprecated: Creation of dynamic property autoptimizeImages::$lazyload_counter is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 34
    
    PHP Deprecated:  Creation of dynamic property autoptimizeCriticalCSSCore::$criticalcss is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCore.php on line 20
    
    Deprecated: Creation of dynamic property autoptimizeCriticalCSSCore::$criticalcss is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCore.php on line 20
    
    PHP Deprecated:  Creation of dynamic property autoptimizeImages::$lazyload_counter is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 34
    
    Deprecated: Creation of dynamic property autoptimizeImages::$lazyload_counter is deprecated in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 34

    I searched around and found a previous thread about some PHP 8.2 warnings that were patched two months ago, but these appear to be different ones that are still present in the latest version of the plugin.

    We’re aware that deprecation warnings aren’t fatal errors but it’s still filling up our cron log, so we’re looking forward to a fix soon if possible.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    thanks, will look into those ??

    as a workaround you could consider lowering the loglevel, esp. if this is for a production site ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    hmm, checked the PHP source and these are (or should be) fixed in the latest version (released past weekend) actually pikamander2, are you on 3.1.6 already? if so, these notices should be gone since updating. if not on 3.1.6, can you update and keep an eye on the php errorlog to confirm this is indeed solved?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback so I assume this got resolved with 3.1.6 (and later)? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘More PHP 8.2 deprecation warnings’ is closed to new replies.