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

PHP Fatal and Warnings #3

Open
ipajen opened this issue Jul 27, 2023 · 0 comments
Open

PHP Fatal and Warnings #3

ipajen opened this issue Jul 27, 2023 · 0 comments

Comments

@ipajen
Copy link

ipajen commented Jul 27, 2023

Following PHP warnings and fatal exist in PHP 8.x

`PHP Deprecated: Return type of FluentQueryLogger\Framework\Foundation\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Foundation\Container.php on line 1164

PHP Deprecated: Return type of FluentQueryLogger\Framework\Foundation\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Foundation\Container.php on line 1175

PHP Deprecated: Return type of FluentQueryLogger\Framework\Foundation\Container::offsetSet($key, $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:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Foundation\Container.php on line 1187

PHP Deprecated: Return type of FluentQueryLogger\Framework\Foundation\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Foundation\Container.php on line 1207

PHP Deprecated: Return type of FluentQueryLogger\Framework\Database\Orm\Model::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:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Database\Orm\Model.php on line 3447

PHP Deprecated: Return type of FluentQueryLogger\Framework\Database\Orm\Model::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:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Database\Orm\Model.php on line 3458

PHP Deprecated: Return type of FluentQueryLogger\Framework\Database\Orm\Model::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:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Database\Orm\Model.php on line 3470

PHP Deprecated: Return type of FluentQueryLogger\Framework\Database\Orm\Model::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:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Database\Orm\Model.php on line 3481

PHP Deprecated: Return type of FluentQueryLogger\Framework\Database\Orm\Model::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Database\Orm\Model.php on line 2449

[27-Jul-2023 16:36:05 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_data() on null in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\app\Hooks\Handlers\DBLoggerHandler.php:34
Stack trace:
#0 C:\wamp64\www\wordpress\wp-includes\class-wp-hook.php(310): FluentQueryLogger\App\Hooks\Handlers\DBLoggerHandler->catchQueries('')
#1 C:\wamp64\www\wordpress\wp-includes\class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#2 C:\wamp64\www\wordpress\wp-includes\plugin.php(517): WP_Hook->do_action(Array)
#3 C:\wamp64\www\wordpress\wp-includes\load.php(1252): do_action('shutdown')
#4 [internal function]: shutdown_action_hook()
#5 {main}
thrown in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\app\Hooks\Handlers\DBLoggerHandler.php on line 34

PHP Deprecated: Calling get_class() without arguments is deprecated in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Database\Orm\ModelHelperTrait.php on line 21

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 452

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 463

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::offsetSet($key, $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:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 475

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 486

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 418

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 398

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\Paginator::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\Paginator.php on line 142

PHP Deprecated: Return type of FluentQueryLogger\Framework\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Support\Collection.php on line 1176

PHP Deprecated: Return type of FluentQueryLogger\Framework\Support\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Support\Collection.php on line 1187

PHP Deprecated: Return type of FluentQueryLogger\Framework\Support\Collection::offsetSet($key, $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:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Support\Collection.php on line 1199

PHP Deprecated: Return type of FluentQueryLogger\Framework\Support\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Support\Collection.php on line 1214

PHP Deprecated: Return type of FluentQueryLogger\Framework\Support\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Support\Collection.php on line 1165

Return type of FluentQueryLogger\Framework\Support\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Support\Collection.php on line 1144

PHP Deprecated: Return type of FluentQueryLogger\Framework\Support\Collection::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Support\Collection.php on line 1113

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 452

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in
C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 463

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::offsetSet($key, $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:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 475

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 486

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 418

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\AbstractPaginator::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\AbstractPaginator.php on line 398

PHP Deprecated: Return type of FluentQueryLogger\Framework\Pagination\LengthAwarePaginator::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\wamp64\www\wordpress\wp-content\plugins\fluent-query-logger\vendor\wpfluent\framework\src\WPFluent\Pagination\LengthAwarePaginator.php on line 166
`

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