Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated message with PHP 8.0 #194

Open
bobbingwide opened this issue Nov 14, 2021 · 0 comments
Open

Deprecated message with PHP 8.0 #194

bobbingwide opened this issue Nov 14, 2021 · 0 comments

Comments

@bobbingwide
Copy link

On upgrading Caxton to v1.27.0 I noticed the following message.

Deprecated: Required parameter $wrapper follows optional parameter $type in wp-content\plugins\caxton\inc\wp-sdk\includes\class-fs-logger.php on line 145

Local workaround

I set the default value of $wrapper to 3

private function _log( &$message, $type = 'log', $wrapper=3 ) {

Environment

  • PHP 8.0.2
  • Windows 10
  • WP_DEBUG true,
  • WP_DEBUG_DISPLAY true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant