WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I cannot access admin via:



Fatal error: Class 'ObjectModel' not found in /home3/xxxxxx/public_html/example.com/wp-includes/class.wp-dependencies.php on line 28

I have had a trojan on my website that will put own .htaccess redirect stuff. And what is worse the WordPress version was up to date 3.5.1 and I have almost no plugins installed.

File permissions were 644 and directories 755. How can it write to .htaccess?

What file permission should I set for .htaccess?

I am on a shared Justhost hosting.

share|improve this question
Download the latest version of WordPress from wordpress.org/download and override all of the present core files via FTP – shea Jun 3 '13 at 11:48
up vote 1 down vote accepted

Dear you don't need to worry about much - if its a fresh installation and you don't have any data on your website - eg post, article, images or anything then I prefer you t install a clean fresh wordpress again from the sketches after a complete scan of your hosting.

and if you have data in your hosting I am sure you can access your data base from cpanel or hosting central of your account download your data base its the most important thing you need becaue wordpress is just a CMS. after downloading data base follow step 1 and load the data base from within wordpress or from hosting center.

the third that is download wordpress and find wp-dependencies.php upload it to appropiate folder might help you keep us up to date what are you doing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.