publishpress / PublishPress-Authors

PublishPress Authors is the best plugin for adding many authors to one WordPress post. You can create multiple authors, co-authors and guest authors.
14 stars 8 forks source link

PHP 8.1 issues #638

Open stevejburge opened 2 years ago

stevejburge commented 2 years ago

I currently have PublishPress Authors Pro v3.16.0 installed. The server has PHP v8.1.4 installed. I happened to check the error log and saw the following, recurringly, for your Authors plugin.

PHP Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/debian/www/blog.jwds.ca/public/wp-content/plugins/publishpress-authors-pro/vendor/pimple/pimple/src/Pimple/Container.php on line 133

PHP Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/debian/www/blog.jwds.ca/public/wp-content/plugins/publishpress-authors-pro/vendor/pimple/pimple/src/Pimple/Container.php on line 98

PHP Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/debian/www/blog.jwds.ca/public/wp-content/plugins/publishpress-authors-pro/vendor/pimple/pimple/src/Pimple/Container.php on line 79

PHP Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/debian/www/blog.jwds.ca/public/wp-content/plugins/publishpress-authors-pro/vendor/pimple/pimple/src/Pimple/Container.php on line 143

ojopaul commented 2 years ago

@stevejburge I think there's an open discussion on this in general on our support for lower php version that's preventing upgrading to the vendor package version that fixes this issue?

stevejburge commented 2 years ago

OK, I'll remove from this milestone for now