• Resolved 48733n

    (@48733n)


    Hi everyone,
    Actually my WordPress site was working fine until today that I suddenly get a fatal error.

    `Warning: require(/home/mysite/public_html/wp-content/themes/light5745747/inc/custom-header.php): failed to open stream: No such file or directory in /home/mysite/public_html/wp-content/themes/light/functions.php on line 149

    My WordPress theme folder always was named “light”. as you can see today WordPress added this “5745747” at the end of theme folder and saying couldn’t find it! how does this happened? why WordPress suddenly wanted to access to the theme folder with this number at the end of that?! I actually surprised why this happened and first I was thinking someone has accessed and changed the theme name in database! anyone knows what is the reason?

Viewing 5 replies - 1 through 5 (of 5 total)
  • 1. First of all check your database, theme root folder. make sure both are the same directory name.

    It happened to poor security.
    let me know if you find your solution
    Thanks
    Laju

    Moderator t-p

    (@t-p)

    Your light5745747 theme seems to be the error.

    I recommend reporting the issue at that theme’s support so its developers and support community can help you with this.

    If you need immediate access to dashboard, then access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename or delete the directory of your currently active theme. That will force your site to use the default theme (Twenty Twenty-one, etc.).

    You can fix it by replacing your theme name from light5745747 to light in your database
    wp_options > templates

    I think this is a virus. I noticed the same error in my code (I pasted my error code in a browser and found your thread today, only 15 hours old). Here is another fresh thread calling it out as a virus (thread from 6 days ago) https://www.ads-software.com/support/topic/new-virus-malware-domain-deleted/ I had reached out to my theme creator but not heard back so started digging around. I turned all of my plugins off with no luck.

    I noticed two urls redirecting to a malicious website. I have been extremely brute force attacked trying to get into my website login page the past several months. I finally added a plugin that changed the wp-admin access url, it seemed to calm down, but now this!

    Thread Starter 48733n

    (@48733n)

    `I think this is a virus. I noticed the same error in my code (I pasted my error code in a browser and found your thread today, only 15 hours old). Here is another fresh thread calling it out as a virus (thread from 6 days ago) https://www.ads-software.com/support/topic/new-virus-malware-domain-deleted/ I had reached out to my theme creator but not heard back so started digging around. I turned all of my plugins off with no luck.

    I noticed two urls redirecting to a malicious website. I have been extremely brute force attacked trying to get into my website login page the past several months. I finally added a plugin that changed the wp-admin access url, it seemed to calm down, but now this!`

    Thanks everybody for their replies.
    @sweetiowa Yes I think so, after that I restored my website and everything was fine till yesterday that all of my links redirected to infected URLs that contained “JS/Adware.Sculinst.N”. I had to restore my database backup also because this problem. I changed my wp login URL and till now everything seems fine to me.
    Still don’t know how this happened and how to prevent this kind of attacks in future.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress Fatal error’ is closed to new replies.