WP-API / example-client

MIT License
79 stars 20 forks source link

Undefined Index: HTTPS; Undefined variable: legacy #1

Closed bigandy closed 8 years ago

bigandy commented 8 years ago

Just installed and trying it out.

Ran php -S 0.0.0.0:8080 www/index.php and get the following in terminal:

[Mon Dec 7 13:47:11 2015] PHP Notice: Undefined index: HTTPS in /Users/andrew/Sites/example-client/www/helpers.php on line 18 [Mon Dec 7 13:47:11 2015] PHP Notice: Undefined variable: legacy in /Users/andrew/Sites/example-client/www/discovery-form.php on line 14

tollmanz commented 8 years ago

+1

rmccue commented 8 years ago

Huh. What version of PHP are you running?

tollmanz commented 8 years ago

I see this on 5.6.13.

rmccue commented 8 years ago

Thanks, fixed now :)