Unexpectedly I'm getting HTTP 500 Internal Server Error when go to selective admin pages. For example: all of the /admin/logs/* pages return the error as well as a few /node/add/* (under Create Content) pages. I should note that the /node/add/* are custom content types created with CCK, but there are some custom content types that work just fine. Very weird issue and I'm not where how to debug it.

Apache log shows the following: PHP Fatal error:

PHP Fatal error:  Call to undefined function is_object() in /var/www/html/includes/file.inc on line 415, referer: http://www.mydomain.com/admin

and

PHP Fatal error:  Call to undefined function is_object() in /var/www/html/includes/file.inc on line 415, referer: http://www.mydomain.com/node/add

The file.inc at line 415 has file_move() function.

Any help is greatly appreciated!

P.S. Can't think of anything critical that I recently done... added some custom blocks with raw PHP... may have had tweaked the templates.php, but nothing that I can relate to this issue.

Comments

gemini’s picture

Update: I discovered this issue last night. This morning I continued to poke around and all of a sudden more and more pages started to return the same error. I rebooted the server and now everything works like nothing ever happened. I'm guessing it's a memory issue... while pages load pretty fast and I don't see any visible memory problems, I can't think of any other thing... Besides, I've been working on another Drupal Intranet site, which is hosted on the same VPS, and it makes some expensive queries that do grouping and sorting over multiple joints. I wonder if this didn't create some kind of bottleneck... Any ideas on what I should be monitoring in this case?