bobbingwide / oik-batch

Batch interface to WordPress
https://www.oik-plugins.com/oik-plugins/oik-batch
GNU General Public License v2.0
0 stars 0 forks source link

Notice: Undefined index: REQUEST_METHOD when running oik-batch #21

Closed bobbingwide closed 5 years ago

bobbingwide commented 7 years ago

Notice from Jetpack 4.2.2 running oik-batch

Notice: Undefined index: REQUEST_METHOD in 
/home/oikplugi/public_html/wp-content/plugins/jetpack/sync/class.jetpack-sync-actions.php on line 63

Will upgrading help?

bobbingwide commented 7 years ago

Answer, it seemed to fix the problem.

bobbingwide commented 5 years ago

Well, this issue isn't closed and I've got the same problem from another plugin

Notice: Undefined index: REQUEST_METHOD in 
C:\apache\htdocs\wordpress\wp-content\plugins\caxton\inc\wp-sdk\config.php on line 166

The message doesn't appear from wp-cli. Suggesting that oik-batch should be setting the method to GET, which is what we see when wp-cli is run and we won't get the Notice anymore.