• This is my site abdalis.com, it was working fine, But few days ago this error appeared in site instead of site,

    “Warning: require(/home/abdalis/public_html/wp-includes/random_compat/random.php): failed to open stream: No such file or directory in /home/abdalis/public_html/wp-includes/compat.php on line 338

    Fatal error: require(): Failed opening required ‘/home/abdalis/public_html/wp-includes/random_compat/random.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/abdalis/public_html/wp-includes/compat.php on line 338″

    Please give me solution for this problem.
    Thanks

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)
  • The topic ‘compat.php on line 338 error’ is closed to new replies.