Call to a member function getPackageID() on a non-object in /var/www/concrete/startup/tools.php on line 34

Permalink
My logs have started to fill up with the following errors (IP addresses redacted). I'm getting several hundred per day - doesn't seem to be having an effect on the actual website though - any idea what could be causing this?

[Sat Jul 02 04:46:41 2011] [error] [client xx.xx.xxx.xxx] PHP Fatal error: Call to a member function getPackageID() on a non-object in /var/www/concrete/startup/tools.php on line 34 
[Sat Jul 02 05:14:02 2011] [error] [client xx.xx.xxx.xxx] PHP Fatal error: Call to a member function getPackageID() on a non-object in /var/www/concrete/startup/tools.php on line 34 
[Sat Jul 02 05:14:02 2011] [error] [client xx.xx.xxx.xxx] PHP Fatal error: Call to a member function getPackageID() on a non-object in /var/www/concrete/startup/tools.php on line 34 
[Sat Jul 02 05:18:57 2011] [error] [client xx.xx.xxx.xxx] PHP Fatal error: Call to a member function getPackageID() on a non-object in /var/www/concrete/startup/tools.php on line 34 
[Sat Jul 02 05:48:17 2011] [error] [client xx.xx.xxx.xxx] PHP Fatal error: Call to a member function getPackageID() on a non-object in /var/www/concrete/startup/tools.php on line 34 
[Sat Jul 02 05:48:17 2011] [error] [client xx.xx.xxx.xxx] PHP Fatal error: Call to a member function getPackageID() on a non-object in /var/www/concrete/startup/tools.php on line 34 
[Sat Jul 02 05:53:45 2011] [error] [client xx.xx.xxx.xxx] PHP Fatal error: Call to a member function getPackageID() on a non-object in /var/www/concrete/startup/tools.php on line 34 
[Sat Jul 02 06:20:12 2011] [error] [client xx.xx.xxx.xxx] PHP Fatal error: Call to a member function getPackageID() on a non-object in /var/www/concrete/startup/tools.php on line 34 
[Sat Jul 02 06:20:12 2011] [error] [client xx.xx.xxx.xxx] PHP Fatal error: Call to a member function getPackageID() on a non-object in /var/www/concrete/startup/tools.php on line 34 
[Sat Jul 02 06:24:57 2011] [error] [client xx.xx.xxx.xxx] PHP Fatal error: Call to a member function getPackageID() on a non-object in /var/www/concrete/startup/tools.php on line 34

hursey013
View Replies: View Best Answer
jshannon replied on at Permalink Best Answer Reply
jshannon
From looking at the code, it seems this can be due to something calling a URL in the form

/tools/blocks/block_name/file

Typically, it then gets the block with the handle 'block_name', which is the step causing the error. Which probably means a block with the handle block_name isn't available, despite it being called.

Basically, I would consider this a 404 error. You should look in your access logs (what log is this coming from, anyways?) for matching entries to try to figure out what non-existent block is generating the error.

James
hursey013 replied on at Permalink Reply
hursey013
This is from the apache error_log, and you were right, compared it to the access_log and found a link to a ProBlog RSS feed that is no longer there... guess someone's reader must still be trying to poll it or something. Thanks for the help, -Brian.