• Resolved bignevola

    (@bignevola)


    There are a lot of deprecated parameters for some functions in PHP 8. As PHP 8 is becoming standard for WP, it would be great if you coud clean it out

    Examples:

    Deprecated: Required parameter $id follows optional parameter $archive in .../wp-content/plugins/adrotate/adrotate-statistics.php on line 180
    
    Deprecated: Required parameter $chartid follows optional parameter $archive in .../wp-content/plugins/adrotate/adrotate-statistics.php on line 180
    
    Deprecated: Required parameter $start follows optional parameter $archive in .../wp-content/plugins/adrotate/adrotate-statistics.php on line 180
    
    Deprecated: Required parameter $end follows optional parameter $archive in .../wp-content/plugins/adrotate/adrotate-statistics.php on line 180
    
    Deprecated: Required parameter $name follows optional parameter $group in .../wp-content/plugins/adrotate/adrotate-output.php on line 397
    
    Deprecated: Required parameter $bannercode follows optional parameter $group in .../wp-content/plugins/adrotate/adrotate-output.php on line 397
    
    Deprecated: Required parameter $tracker follows optional parameter $group in .../wp-content/plugins/adrotate/adrotate-output.php on line 397
    
    Deprecated: Required parameter $image follows optional parameter $group in .../wp-content/plugins/adrotate/adrotate-output.php on line 397
    • This topic was modified 3 years, 11 months ago by bignevola.
Viewing 1 replies (of 1 total)
  • Plugin Author Arnan de Gans

    (@adegans)

    I don’t have a server with PHP 8 so I can’t really test that yet.
    Looking at those notices and the code I don’t really see why PHP thinks they’re optional either, since they’re not.

    But I’ll keep an eye on it – Thanks for your report/concern.

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated parameters in PHP 8’ is closed to new replies.