Skip to content

PHP8 Errors Originating from the AWeber Library #33

@JarrydLong

Description

@JarrydLong

Tested with:

PMPro 2.10.2 & 3.0
Aweber 1.3.2
PHP 8.1.9

These errors are present on the Plugins page after activating and the PMPro AWeber settings pages

Deprecated: Return type of AWeberCollection::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 C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_collection.php on line 165

Deprecated: Return type of AWeberCollection::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 C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_collection.php on line 213

Deprecated: Return type of AWeberCollection::offsetSet($offset, $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 C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_collection.php on line 163

Deprecated: Return type of AWeberCollection::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_collection.php on line 164

Deprecated: Return type of AWeberCollection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_collection.php on line 239

Deprecated: Return type of AWeberCollection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_collection.php on line 247

Deprecated: Return type of AWeberCollection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_collection.php on line 243

Deprecated: Return type of AWeberCollection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_collection.php on line 255

Deprecated: Return type of AWeberCollection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_collection.php on line 251

Deprecated: Return type of AWeberCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_collection.php on line 265

Deprecated: Return type of AWeberEntryDataArray::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 C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_entry_data_array.php on line 22

Deprecated: Return type of AWeberEntryDataArray::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 C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_entry_data_array.php on line 26

Deprecated: Return type of AWeberEntryDataArray::offsetSet($offset, $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 C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_entry_data_array.php on line 30

Deprecated: Return type of AWeberEntryDataArray::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_entry_data_array.php on line 36

Deprecated: Return type of AWeberEntryDataArray::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_entry_data_array.php on line 18

Deprecated: Return type of AWeberEntryDataArray::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_entry_data_array.php on line 44

Deprecated: Return type of AWeberEntryDataArray::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_entry_data_array.php on line 52

Deprecated: Return type of AWeberEntryDataArray::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_entry_data_array.php on line 48

Deprecated: Return type of AWeberEntryDataArray::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_entry_data_array.php on line 56

Deprecated: Return type of AWeberEntryDataArray::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\info\Local Sites\paid-memberships-pro\app\public\wp-content\plugins\pmpro-aweber\includes\aweber_api\aweber_entry_data_array.php on line 40

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions