<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>Peter&#039;s Useful Crap - Topic: Series of php errors</title>
	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/series-of-php-errors</link>
	<description><![CDATA[Useful tips on Canada, cell phones, banking, technology, WordPress, PHP and more]]></description>
	<generator>Simple:Press Version 5.5.1</generator>
	<atom:link href="http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/series-of-php-errors/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Peter on Series of php errors</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/series-of-php-errors#p1012</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/series-of-php-errors#p1012</guid>
        	        	<description><![CDATA[<p>Looks robots (or humans) directly accessing the plugin file.  The notices appear because you probably have a sensitive error logger; however, no matter what, you’d get the last error message because the plugin file is being directly loaded.  Add this to the top of the plugin file:</p>
<p><input type="button" class="sfcodeselect" name="sfselectit4190" value="Select Code" onclick="spjSelectCode('sfcode4190');" /></p>
<div class="sfcode" id="sfcode4190">if (file_exists(&#39;custom_anti_spam.php&#39;) &#38;&#38; empty($_GET)) {<br />
    die (&#39;Not intended for direct access.&#39;);<br />
}</div>
]]></description>
        	        	<pubDate>Tue, 16 Dec 2008 20:52:30 +0000</pubDate>
        </item>
        <item>
        	<title>Todd on Series of php errors</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/series-of-php-errors#p1010</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/series-of-php-errors#p1010</guid>
        	        	<description><![CDATA[<p>Peter, I appreciate your help.</p>
<p>I am getting the following series of errors repeatedly in my log, can anyone help?:</p>
<p>[Tue Dec 16 09:37:00 2008] [error] [client 64.88.164.198] PHP Notice: Trying to get property of non-object in .../wp-content/plugins/peters-custom-anti-spam-image/custom_anti_spam.php on line 59<br />
[Tue Dec 16 09:37:00 2008] [error] [client 64.88.164.198] PHP Notice: Trying to get property of non-object in .../wp-content/plugins/peters-custom-anti-spam-image/custom_anti_spam.php on line 152<br />
[Tue Dec 16 09:37:00 2008] [error] [client 64.88.164.198] PHP Notice: Trying to get property of non-object in .../wp-content/plugins/peters-custom-anti-spam-image/custom_anti_spam.php on line 158<br />
[Tue Dec 16 09:37:00 2008] [error] [client 64.88.164.198] PHP Notice: Trying to get property of non-object in .../wp-content/plugins/peters-custom-anti-spam-image/custom_anti_spam.php on line 161<br />
[Tue Dec 16 09:37:00 2008] [error] [client 64.88.164.198] PHP Notice: Use of undefined constant get_option - assumed 'get_option' in .../wp-content/plugins/peters-custom-anti-spam-image/custom_anti_spam.php on line 409<br />
[Tue Dec 16 09:37:00 2008] [error] [client 64.88.164.198] PHP Fatal error: Call to undefined function add_action() in .../wp-content/plugins/peters-custom-anti-spam-image/custom_anti_spam.php on line 422</p>
]]></description>
        	        	<pubDate>Tue, 16 Dec 2008 18:19:15 +0000</pubDate>
        </item>
</channel>
</rss>