fatal error when i want to disable apachesolr module I see an error when i want disable apachesolr module.
what should i do?
Updated:

Point from @kiamlaluno is correct, the apachesolr_stats has apachesolr listed as a dependency. Therefore, in order to disable the apachesolr, you should first disable the apachesolr_stats (and possibly other dependent modules).

I suspect that this issue comes from cached blocks, when I look at the trace you posted. Try to clear the cache and/or disable the apachesolr_stats block before trying to disable the apachesolr module.

Original:

You should try to disable the apachesolr_stats module first.
If you are using drush, this would be the command:

drush dis -y apachesolr_stats


If you don't have drush, you can also use MySQL/PHPMyAdmin commands, here are some links with examples:

Disabling modules:
https://www.drupal.org/node/157632

Clearing cache:
How do I clear cache using an SQL query?  [if that answer works for you, you can upvote ;) ]
https://www.drupal.org/documentation/clearing-rebuilding-cache

Good luck!