The Slim Framework support forum has moved to http://discourse.slimframework.com. This Tender forum is no longer maintained or monitored.

Error PHPstorm

stallion977's Avatar

stallion977

12 Aug, 2015 11:55 PM

This is the error im getting and here is copy of the error i get in phpstorm. Any help would be greatly appreciated.

D:\xampp\php\php.exe D:\PhpstormProjects\web_simple\index.php

Fatal error: Uncaught exception 'ErrorException' with message 'Undefined index: REQUEST_METHOD' in D:\PhpstormProjects\web_simple\vendor\slim\slim\Slim\Environment.php:124
Stack trace:
#0 D:\PhpstormProjects\web_simple\vendor\slim\slim\Slim\Environment.php(124): Slim\Slim::handleErrors(8, 'Undefined index...', 'D:\\PhpstormProj...', 124, Array)
#1 D:\PhpstormProjects\web_simple\vendor\slim\slim\Slim\Environment.php(76): Slim\Environment->__construct()
#2 D:\PhpstormProjects\web_simple\vendor\slim\slim\Slim\Slim.php(159): Slim\Environment::getInstance()
#3 D:\PhpstormProjects\web_simple\vendor\slim\slim\Slim\Helper\Set.php(228): Slim\Slim->Slim\{closure}(Object(Slim\Helper\Set))
#4 D:\PhpstormProjects\web_simple\vendor\slim\slim\Slim\Helper\Set.php(88): Slim\Helper\Set->Slim\Helper\{closure}(Object(Slim\Helper\Set))
#5 D:\PhpstormProjects\web_simple\vendor\slim\slim\Slim\Helper\Set.php(185): Slim\Helper\Set->get('environment')
#6 D:\PhpstormProjects\web_simple\vendor\slim\slim\Slim\Slim.php(191): Slim\Helper\Set->offsetGet in D:\PhpstormProjects\web_simple\vendor\slim\slim\Slim\Environment.php on line 124

Process finished with exit code 255

  1. stallion977 closed this discussion on 13 Aug, 2015 02:53 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac