• Hello all,

    Thanks for reading this and attempting to help with my issue.

    My problem is that whenever I try uploading a new plugin to my WordPress site, it uploads the plugin but then gives me an error and then all my active plugins become disabled. After that happens, I check a php file and there’s weird php code being injected at the very beginning. This happens to every single php in the WordPress directory.

    I looked up measures to prevent access and modification to files via the htaccess file and I added a few but nothing seems to work. They way I get my site working again is by manually removing all the injected code.

    This happened twice so far over the last 2 weeks and it’s quite frustrating. I don’t have any crazy plugins. Mainly the popular ones…SEO, Google analytics, the events calendar, security and a few more for visual aesthetics.

    If someone can shed some light on the problem with a solution, that would be awesome!

    Thank you very much!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Weird php code being injected’ is closed to new replies.