Deprecated: Required parameter follows optional parameter
-
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)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Deprecated: Required parameter follows optional parameter’ is closed to new replies.