<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Exceptions on Justin Carmony</title>
		<link>https://www.justincarmony.com/tags/exceptions/</link>
		<description>Recent content in Exceptions on Justin Carmony</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Fri, 23 Mar 2012 16:48:43 +0000</lastBuildDate>
		
			<atom:link href="https://www.justincarmony.com/tags/exceptions/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>PHP, Sessions, __sleep, and Exceptions</title>
				<link>https://www.justincarmony.com/2012/03/23/php-sessions-__sleep-and-exceptions/</link>
				<pubDate>Fri, 23 Mar 2012 16:48:43 +0000</pubDate>
				<guid>https://www.justincarmony.com/2012/03/23/php-sessions-__sleep-and-exceptions/</guid>
				<description>&lt;p&gt;Today I ran into a problem where my PHP Application would throw this fatal error:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Fatal error: Exception thrown without a stack frame in Unknown on line 0&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Which is so much fun, because it doesn&amp;rsquo;t have a line number, so I had no direction as to what exactly was causing the problem. Some quick googling came up with &lt;a href=&#34;http://www.compdigitec.com/labs/2009/08/02/solving-fatal-error-exception-thrown-without-a-stack-frame-in-unknown-on-line-0/&#34;&gt;this website&lt;/a&gt; stating the following error:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Most often, the error will appear if you use an exception handler combined with an error reporting to exception handler by converting it to an ErrorException, then there a suddenly a whole new magnitude of ways to throw errors within the exception handle, especially if E_NOTICE, E_STRICT and/or E_WARNING errors are converted. This form most often occurs when you use variables without first initializing them. This error may be preventable by wrapping the exception handler within a try/catch block.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
