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

The plugin generated 7813 characters of unexpected output #934

Open
thadallender opened this issue Aug 4, 2022 · 1 comment
Open

The plugin generated 7813 characters of unexpected output #934

thadallender opened this issue Aug 4, 2022 · 1 comment
Labels

Comments

@thadallender
Copy link
Member

What I did
I installed Sell Media from the Plugins -> Add New page directly from WordPress.org

What I saw
The plugin generated 7813 characters of unexpected output....

I was shown lots of warning messages, like the following:

Deprecated: Return type of Recursive_ArrayAccess::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/thad/Sites/wordpress/wp-content/plugins/sell-media/inc/libraries/wp-session/class-recursive-arrayaccess.php on line 84

Deprecated: Return type of Recursive_ArrayAccess::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/thad/Sites/wordpress/wp-content/plugins/sell-media/inc/libraries/wp-session/class-recursive-arrayaccess.php on line 97

Deprecated: Return type of Recursive_ArrayAccess::offsetSet($offset, $data) 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 /Users/thad/Sites/wordpress/wp-content/plugins/sell-media/inc/libraries/wp-session/class-recursive-arrayaccess.php on line 111

What I expected
The plugin should activate without any errors.

See screenshots below.
Screen Shot 2022-08-04 at 11 58 34 AM
Screen Shot 2022-08-04 at 11 58 14 AM

@maharzan
Copy link
Member

maharzan commented Aug 6, 2022

I think this is related to PHP 8.0 or newer versions. The master branch has the more latest version than .org version so can you check if this still happens on that version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants