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.

  • 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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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