Plenty of site errors, PHP warnings refer to db.php line 1349

My site seems to be falling a part the last few days (slowing down / freezing).

I have plenty problems in my error logs. Been told by drmike that I have memory limit problems, most of the errors point to my db.php though and referrers which are from the affiliate plugin...

Here are some logs:

[Fri Feb 25 09:04:50 2011] [error] [client 67.195.112.248] PHP Fatal error:  Call to a member function get() on a non-object in /home/thatmlmb/public_html/wp-includes/cache.php on line 93
[Fri Feb 25 09:04:50 2011] [error] [client 67.195.112.248] PHP Fatal error:  Allowed memory size of 402653184 bytes exhausted (tried to allocate 78312 bytes) in /home/thatmlmb/public_html/wp-includes/functions.php on line 235
[Fri Feb 25 09:04:47 2011] [error] [client 70.190.35.235] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://just-ask-kim.com/what-you-can-learn-from-getting-stumbled-on-stumbleupon/
[Fri Feb 25 09:04:44 2011] [error] [client 95.211.22.28] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://rosemis.thatmlmbeat.com/goofy-norway-olympic-pants/comment-page-1/#comment-2220/
[Fri Feb 25 09:04:44 2011] [error] [client 120.145.6.127] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://thatmlmbeat.com/wp-admin/index.php?page=meetYourCommenters&from=180
[Fri Feb 25 09:04:42 2011] [error] [client 67.39.48.209] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://www.meetbethallen.com/the-power-of-perseverance/
[Fri Feb 25 09:04:42 2011] [error] [client 120.145.6.127] PHP Warning:  filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/thatmlmb/public_html//wp-content/plugins/bp-external/js/general.js in /home/thatmlmb/public_html/wp-content/plugins/wp-minify/wp-minify.php on line 816, referer: http://thatmlmbeat.com/
[Fri Feb 25 09:04:41 2011] [error] [client 79.142.69.105] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://joycepenner.thatmlmbeat.com/2010/05/30/seek-out-the-richard-bravos-of-the-world/
[Fri Feb 25 09:04:40 2011] [error] [client 184.107.144.58] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://kooiii.net/
[Fri Feb 25 09:04:39 2011] [error] [client 77.88.29.247] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:04:39 2011] [error] [client 67.195.112.248] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:04:39 2011] [error] [client 67.195.112.248] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://annalaurabrown.com/
[Fri Feb 25 09:04:34 2011] [error] [client 80.109.6.230] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:04:33 2011] [error] [client 201.230.190.81] PHP Fatal error:  Call to a member function get() on a non-object in /home/thatmlmb/public_html/wp-includes/cache.php on line 93, referer: http://thatmlmbeat.com/top-50-mlm-blogs-2010/
[Fri Feb 25 09:04:33 2011] [error] [client 69.7.167.129] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://www.mlmhelpdesk.com/2010/08/28/mlm-weekly-news-vemma-worldventures-5linx-stream-energy-monavie-ambit-energy/
[Fri Feb 25 09:04:33 2011] [error] [client 69.7.167.129] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://www.mlmhelpdesk.com/2010/08/28/mlm-weekly-news-vemma-worldventures-5linx-stream-energy-monavie-ambit-energy/
[Fri Feb 25 09:04:33 2011] [error] [client 69.7.167.129] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://www.mlmhelpdesk.com/2010/08/28/mlm-weekly-news-vemma-worldventures-5linx-stream-energy-monavie-ambit-energy/
[Fri Feb 25 09:04:33 2011] [error] [client 69.7.167.129] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://www.mlmhelpdesk.com/2010/08/28/mlm-weekly-news-vemma-worldventures-5linx-stream-energy-monavie-ambit-energy/
[Fri Feb 25 09:04:33 2011] [error] [client 69.7.167.129] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://www.mlmhelpdesk.com/2010/08/28/mlm-weekly-news-vemma-worldventures-5linx-stream-energy-monavie-ambit-energy/
[Fri Feb 25 09:04:33 2011] [error] [client 69.7.167.129] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://www.mlmhelpdesk.com/2010/08/28/mlm-weekly-news-vemma-worldventures-5linx-stream-energy-monavie-ambit-energy/
[Fri Feb 25 09:04:31 2011] [error] [client 67.195.112.248] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://annalaurabrown.com/
[Fri Feb 25 09:04:31 2011] [error] [client 67.195.112.248] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://annalaurabrown.com/
[Fri Feb 25 09:04:28 2011] [error] [client 207.46.195.228] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:04:28 2011] [error] [client 170.140.195.235] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://www.mlmhelpdesk.com/2010/03/19/monavie-compensation-plan-does-it-stack-up-as-one-of-the-best-in-mlm/
[Fri Feb 25 09:04:28 2011] [error] [client 79.142.69.105] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://joycepenner.thatmlmbeat.com/2010/07/29/be-careful-your-intent-may-become-your-results/index.php
[Fri Feb 25 09:04:18 2011] [error] [client 67.195.112.248] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:04:18 2011] [error] [client 67.195.112.248] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://annalaurabrown.com/
[Fri Feb 25 09:04:12 2011] [error] [client 67.195.112.248] PHP Fatal error:  Allowed memory size of 402653184 bytes exhausted (tried to allocate 79 bytes) in /home/thatmlmb/public_html/wp-includes/plugin.php on line 160
[Fri Feb 25 09:04:11 2011] [error] [client 79.142.69.105] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://joycepenner.thatmlmbeat.com/2010/08/24/you-can-do-it-yes-you-can/index.php
[Fri Feb 25 09:04:10 2011] [error] [client 67.195.112.248] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://annalaurabrown.com/
[Fri Feb 25 09:04:10 2011] [error] [client 67.195.112.248] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://annalaurabrown.com/
[Fri Feb 25 09:04:10 2011] [error] [client 120.145.6.127] PHP Warning:  filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/thatmlmb/public_html//wp-content/plugins/bp-external/js/general.js in /home/thatmlmb/public_html/wp-content/plugins/wp-minify/wp-minify.php on line 816
[Fri Feb 25 09:04:10 2011] [error] [client 77.88.29.247] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:04:09 2011] [error] [client 198.137.232.6] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://just-ask-kim.com/free-facebook-for-business-training-covering-the-latest-fan-page-changes/
[Fri Feb 25 09:04:09 2011] [error] [client 201.230.190.81] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://thatmlmbeat.com/top-50-mlm-blogs-2010/
[Fri Feb 25 09:04:07 2011] [error] [client 67.195.112.248] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://annalaurabrown.com/
[Fri Feb 25 09:04:07 2011] [error] [client 67.195.112.248] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://annalaurabrown.com/
[Fri Feb 25 09:04:06 2011] [error] [client 67.202.123.33] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:04:02 2011] [error] [client 46.4.31.47] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://tweetattackstwitteraccountcreatorreview.info
[Fri Feb 25 09:04:02 2011] [error] [client 120.145.6.127] PHP Warning:  filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/thatmlmb/public_html//wp-content/plugins/bp-external/js/general.js in /home/thatmlmb/public_html/wp-content/plugins/wp-minify/wp-minify.php on line 816
[Fri Feb 25 09:04:01 2011] [error] [client 66.249.71.68] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:04:01 2011] [error] [client 201.230.190.81] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://thatmlmbeat.com/top-50-mlm-blogs-2010/
[Fri Feb 25 09:04:01 2011] [error] [client 211.43.152.49] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:04:00 2011] [error] [client 173.234.187.9] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:03:59 2011] [error] [client 79.142.69.105] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:03:59 2011] [error] [client 67.195.112.248] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://annalaurabrown.com/
[Fri Feb 25 09:03:58 2011] [error] [client 207.46.13.100] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:03:58 2011] [error] [client 121.54.32.106] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349, referer: http://wendy-hewlett.com/getting-started-in-network-marketing-module-1/comment-page-1/
[Fri Feb 25 09:03:58 2011] [error] [client 79.142.69.105] PHP Warning:  mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/thatmlmb/public_html/wp-content/db.php on line 1349
[Fri Feb 25 09:03:57 2011] [

Would this be memory or something else?

Thanks!

George