• Resolved l00cyph3r

    (@l00cyph3r)


    PHP8.0 has deprecated the use of optional parameters before required parameters.
    When running this plugin on a website that runs PHP8.0 or higher, there is constant stream of errors about this.

    
    `Deprecated: Required parameter $loaded follows optional parameter $script_data in wp-content/plugins/podcast-player/frontend/inc/class-feed.php on line 297
    
    Deprecated: Required parameter $total follows optional parameter $script_data in wp-content/plugins/podcast-player/frontend/inc/class-feed.php on line 0
    
    Deprecated: Required parameter $url follows optional parameter $script_data in wp-content/plugins/podcast-player/frontend/inc/class-feed.php on line 0
    
    Deprecated: Required parameter $args follows optional parameter $script_data in wp-content/plugins/podcast-player/frontend/inc/class-feed.php on line 0
    
    Deprecated: Required parameter $counter follows optional parameter $script_data in wp-content/plugins/podcast-player/frontend/inc/class-feed.php on line 0
    
    Deprecated: Required parameter $title follows optional parameter $script_data in wp-content/plugins/podcast-player/frontend/inc/class-feed.php on line 0
    

    Since the cause lays in a private function, it should be easy enough to fix. If you have a Github I can submit a PR if requested.

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

    (@vedathemes)

    Hi @l00cyph3r ,

    First of all, thanks so much for taking your time to report this error (and providing a solution as well). I will check and resolve this error in the new update.

    I will update you on that.

    Thanks again.

    Plugin Author Veda

    (@vedathemes)

    Hi there,

    The issue has been resolved in the latest update. Kindly check and inform if there is anything else needs to be done.

    Thanks again for your time.

    Plugin Author Veda

    (@vedathemes)

    Hi there,

    I hope the issue has been resolved. Therefore, I am closing this ticket. However, feel free to comment on this ticket OR create a new ticket if you need any help with the player.

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deprecated: Required parameter follows optional parameter’ is closed to new replies.