NotionCommotion Posted November 20, 2014 Share Posted November 20, 2014 (edited) I am getting the following error from my error handler (shown below). I don't know if it is related, but I am using register_shutdown_function in a static class. I don't even know where to start troubleshooting. Any recommendations? Thanks An error occurred in script 'Unknown' on line 0: Unknown: Skipping numeric key 2996699736 (error no: 8 ) <?php function my_error_handler($e_number, $e_message, $e_file, $e_line, $e_vars) { $message = "An error occurred in script '$e_file' on line $e_line: $e_message (error no: $e_number)";//.print_r($e_vars,1); syslog(LOG_INFO,'my_error_handler: '.$message); } ini_set('display_errors', 1); error_reporting(E_ALL); set_error_handler("my_error_handler"); ?> Edited November 20, 2014 by NotionCommotion Quote Link to comment Share on other sites More sharing options...
NotionCommotion Posted November 20, 2014 Author Share Posted November 20, 2014 Never mind. Looks like I was trying to access $_SESSION[2996699736]. Quote Link to comment Share on other sites More sharing options...
requinix Posted November 20, 2014 Share Posted November 20, 2014 (edited) That's related to sessions and happens during the saving (during shutdown). It means you used a numeric key for a session value, like $_SESSION[2996699736] = "some value";[edit] Yeah. That. Edited November 20, 2014 by requinix Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.