Skip Navigation

[Resolved] Warnings in Query Monitor

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 1 voice.

Last updated by Minesh 3 weeks ago.

Assisted by: Minesh.

Author
Posts
#2816721

I am trying to:

Link to a page where the issue can be seen:
hidden link

I'm using the query Monitor plugin and it is logging the following warnings:

Warning	Attempt to read property "ID" on null	
wp-content/plugins/wp-views/application/models/shortcode/post/body.php:466
1	Plugin: wp-views
Deprecated	Creation of dynamic property WPToolset_Localization::$textdomain is deprecated	
wp-content/plugins/toolset-module-manager/common/localization/wpt-localization.php:35
1	Plugin: toolset-module-manager
Deprecated	Creation of dynamic property WPToolset_Localization::$path is deprecated	
wp-content/plugins/toolset-module-manager/common/localization/wpt-localization.php:36
1	Plugin: toolset-module-manager
Deprecated	Creation of dynamic property WPToolset_Localization::$mo_name is deprecated	
wp-content/plugins/toolset-module-manager/common/localization/wpt-localization.php:37
1	Plugin: toolset-module-manager
Deprecated	Creation of dynamic property WPToolset_Localization::$mo_processed_name is deprecated	
wp-content/plugins/toolset-module-manager/common/localization/wpt-localization.php:38
1	Plugin: toolset-module-manager
Deprecated (Suppressed)	Return type of OTGS\Toolset\Common\CodeSnippets\SnippetOption::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice	
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/code_snippets/SnippetOption.php:117
1	Plugin: cred-frontend-editor
Deprecated (Suppressed)	Return type of OTGS\Toolset\Common\CodeSnippets\SnippetOption::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice	
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/code_snippets/SnippetOption.php:133
1	Plugin: cred-frontend-editor
Deprecated (Suppressed)	Return type of OTGS\Toolset\Common\CodeSnippets\SnippetOption::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	
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/code_snippets/SnippetOption.php:152
1	Plugin: cred-frontend-editor
Deprecated (Suppressed)	Return type of OTGS\Toolset\Common\CodeSnippets\SnippetOption::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice	
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/code_snippets/SnippetOption.php:168
1	Plugin: cred-frontend-editor
#2817066

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Regarding following deprecated notice:

Warning Attempt to read property "ID" on null
wp-content/plugins/wp-views/application/models/shortcode/post/body.php:466
1 Plugin: wp-views

===>
I've escalated it and it should be fixed in future release.

Deprecated noticed belongs to module manager plugin:

Deprecated Creation of dynamic property WPToolset_Localization::$textdomain is deprecated
wp-content/plugins/toolset-module-manager/common/localization/wpt-localization.php:35
1 Plugin: toolset-module-manager
Deprecated Creation of dynamic property WPToolset_Localization::$path is deprecated
wp-content/plugins/toolset-module-manager/common/localization/wpt-localization.php:36
1 Plugin: toolset-module-manager
Deprecated Creation of dynamic property WPToolset_Localization::$mo_name is deprecated
wp-content/plugins/toolset-module-manager/common/localization/wpt-localization.php:37
1 Plugin: toolset-module-manager
Deprecated Creation of dynamic property WPToolset_Localization::$mo_processed_name is deprecated
wp-content/plugins/toolset-module-manager/common/localization/wpt-localization.php:38
1 Plugin: toolset-module-manager

===>
Above notices are fixed already and you should update the module manager plugin to it's latest official released version 1.8.10. You can download it from your account's download page:
- https://toolset.com/download/toolset-module-manager/#changelog

Regarding deprecated notices belongs to Toolset Forms plugin:

Deprecated (Suppressed) Return type of OTGS\Toolset\Common\CodeSnippets\SnippetOption::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/code_snippets/SnippetOption.php:117
1 Plugin: cred-frontend-editor
Deprecated (Suppressed) Return type of OTGS\Toolset\Common\CodeSnippets\SnippetOption::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/code_snippets/SnippetOption.php:133
1 Plugin: cred-frontend-editor
Deprecated (Suppressed) Return type of OTGS\Toolset\Common\CodeSnippets\SnippetOption::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
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/code_snippets/SnippetOption.php:152
1 Plugin: cred-frontend-editor
Deprecated (Suppressed) Return type of OTGS\Toolset\Common\CodeSnippets\SnippetOption::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/code_snippets/SnippetOption.php:168
1 Plugin: cred-frontend-editor

Again, Ive escalated that and the fix for this issue will be added into future release.

Please note that there is no ETA on it.

#2817327

OK, Thank you for your response. Looking forward to the future fixes.

#2817430

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Ok great - you are welcome to close this ticket and I will get in touch when I have any update on it.