Skip Navigation

[Resolved] Undefined array key "QUERY_STRING" with toolset maps plugin activation

This support ticket is created 2 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 2 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2608899
Screen Shot 2023-05-22 at 6.05.07 PM.png

I am trying to install toolset maps plugin.
Link to a page where the issue can be seen:

I expected to see:
no errors on plugin activation
Instead, I got:
Undefined array key "QUERY_STRING" in /wp-content/plugins/toolset-blocks/inc/wpv-plugin.class.php on line 1517

#2609173

Hello,

Same as your another thread, I can not reproduce the same issue, see the same sandbox website:
hidden link
and I have checked the plugin file "/wp-content/plugins/toolset-blocks/inc/wpv-plugin.class.php" line 1517:

|| strpos( $_SERVER['QUERY_STRING'], 'help.php') !== false

It is checking URL parameter with PHP variable $_SERVER['QUERY_STRING'], it is a PHP built-in feature, see PHP document:
hidden link

'QUERY_STRING'
The query string, if any, via which the page was accessed.