• Hey @brianbrey

    Got this error message today on my site. I’m using PHP 8.0.28, so it seems some things have changed:

    Deprecated: Required parameter $post follows optional parameter $field in /wp-content/plugins/easy-load-more/includes/lib/class-easy-load-more-admin-api.php on line 281

    I was able to get the error message to go away by…

    Changing this code (line 281):

    public function display_meta_box_field ( $field = array(), $post ) {

    To this:

    public function display_meta_box_field ( $post, $field = array() ) {

    Let me know if this helps, or if there’s a better way to do this!

    • This topic was modified 1 year, 8 months ago by Adam. Reason: clarity
  • The topic ‘PHP Deprecated Error’ is closed to new replies.