DEV Community

Duy Nguyen
Duy Nguyen

Posted on

Someone hack my Wordpress site!

My server was hacked by someone on the Internet last week and I didn't notice about this. When I randomly visit my customer's WordPress website, it redirects to a page that I don't know. I realize that they were hacked.

I checked the source code and found there was a problem with my Laravel source (deployed a year ago and not maintained anymore). The package which causes the bug is 'facade/ignition'.

Facade/ignition

After hours of searching, I found a simple solution that I missed when deploying to production. Here is the install command that fixed my error.

composer install --no-dev --optimize-autoloader

Thank you for reading.

Top comments (0)