• Resolved javierdemuga

    (@javierdemuga)


    With PHP 8.2 there are many variables not initialized which leads to many warnings in every cron call

    [15-Jan-2023 08:45:03 UTC] PHP Warning:  Undefined array key "status" in /wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCron.php on line 218
    [15-Jan-2023 08:45:03 UTC] PHP Warning:  Undefined array key "job" in /wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCron.php on line 272
    [15-Jan-2023 08:45:03 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCron.php on line 272
    [15-Jan-2023 08:45:03 UTC] PHP Warning:  Undefined array key "job" in /wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCron.php on line 272
    [15-Jan-2023 08:45:03 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCron.php on line 272

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

    (@optimizingmatters)

    Morning Javier;
    That issue should be fixed when the next AO version is released, if you want you can test this by downloading the beta version here, uploading that and activating it instead of 3.1.4 (deactivate that one first). If you test feel free to give your feedback here ??

    have a nice sunday,
    frank

Viewing 1 replies (of 1 total)
  • The topic ‘autoptimizeCriticalCSSCron many warnings in php 8.2’ is closed to new replies.