pootlepress / caxton

Gutenberg pro
GNU General Public License v2.0
24 stars 6 forks source link

Deprecated message with PHP 8.0 #194

Open bobbingwide opened 2 years ago

bobbingwide commented 2 years ago

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